[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: branch: master updated (1.4.0-20080127-33-gfa3091a)



The branch, master has been updated
       via  fa3091a4da63abd5312be5b1cd132baefb9e77c1 (commit)
      from  24f0395aab9589f8e98f284e63fe77e6dc2d2836 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/i_basic.c     |    5 ++++-
 gschem/src/i_callbacks.c |    1 +
 2 files changed, 5 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit fa3091a4da63abd5312be5b1cd132baefb9e77c1
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Sun Mar 2 18:06:51 2008 +0100

    show the magnetic net mode in the status bar

:100644 100644 e8253d3... 6685736... M	gschem/src/i_basic.c
:100644 100644 41e034a... ccb217d... M	gschem/src/i_callbacks.c

=========
 Changes
=========

commit fa3091a4da63abd5312be5b1cd132baefb9e77c1
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Sun Mar 2 18:06:51 2008 +0100

    show the magnetic net mode in the status bar

diff --git a/gschem/src/i_basic.c b/gschem/src/i_basic.c
index e8253d3..6685736 100644
--- a/gschem/src/i_basic.c
+++ b/gschem/src/i_basic.c
@@ -112,7 +112,10 @@ static const char *i_status_string(GSCHEM_TOPLEVEL *w_current)
     case STARTDRAWNET:
     case DRAWNET:
     case NETCONT:
-      return _("Net Mode");
+      if (w_current->magneticnet_mode)
+	return _("Magnetic Net Mode");
+      else
+	return _("Net Mode");
     case STARTDRAWBUS:
     case DRAWBUS:
     case BUSCONT:
diff --git a/gschem/src/i_callbacks.c b/gschem/src/i_callbacks.c
index 41e034a..ccb217d 100644
--- a/gschem/src/i_callbacks.c
+++ b/gschem/src/i_callbacks.c
@@ -3369,6 +3369,7 @@ DEFINE_I_CALLBACK(options_magneticnet)
   else {
     s_log_message(_("magnetic net mode: OFF\n"));
   }
+  i_show_state(w_current, NULL);
 }
 
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs