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

gEDA-cvs: pcb.git: branch: master updated (e8c699a6f7a954b31d400a5adb429105b0c24b15)



The branch, master has been updated
       via  e8c699a6f7a954b31d400a5adb429105b0c24b15 (commit)
      from  a5515fcf70379ee8115f32e83cf115552e68df73 (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
=========

 src/action.c                     |    2 ++
 src/hid/gtk/gui-netlist-window.c |    2 +-
 src/hid/lesstif/netlist.c        |    1 +
 src/select.c                     |    1 -
 4 files changed, 4 insertions(+), 2 deletions(-)


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

commit e8c699a6f7a954b31d400a5adb429105b0c24b15
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    select.c: Remove Draw() call from SelectConnection
    
    Make callers responsible for calling the final Draw(), to avoid
    multiple redraws if other operations are to occur, such as changing
    "FOUND" flags on objects after making the selection.

:100644 100644 ba1fbed... 7a9c3f0... M	src/action.c
:100644 100644 1d8e939... cee63da... M	src/hid/gtk/gui-netlist-window.c
:100644 100644 ee6d723... 3438b33... M	src/hid/lesstif/netlist.c
:100644 100644 c4b5e17... 87dc661... M	src/select.c

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

commit e8c699a6f7a954b31d400a5adb429105b0c24b15
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    select.c: Remove Draw() call from SelectConnection
    
    Make callers responsible for calling the final Draw(), to avoid
    multiple redraws if other operations are to occur, such as changing
    "FOUND" flags on objects after making the selection.

diff --git a/src/action.c b/src/action.c
index ba1fbed..7a9c3f0 100644
--- a/src/action.c
+++ b/src/action.c
@@ -5484,6 +5484,7 @@ ActionSelect (int argc, char **argv, int x, int y)
 	case F_Connection:
 	  if (SelectConnection (true))
 	    {
+              Draw ();
 	      IncrementUndoSerialNumber ();
 	      SetChangedFlag (true);
 	    }
@@ -5660,6 +5661,7 @@ ActionUnselect (int argc, char **argv, int x, int y)
 	case F_Connection:
 	  if (SelectConnection (false))
 	    {
+              Draw ();
 	      IncrementUndoSerialNumber ();
 	      SetChangedFlag (true);
 	    }
diff --git a/src/hid/gtk/gui-netlist-window.c b/src/hid/gtk/gui-netlist-window.c
index 1d8e939..cee63da 100644
--- a/src/hid/gtk/gui-netlist-window.c
+++ b/src/hid/gtk/gui-netlist-window.c
@@ -529,7 +529,7 @@ netlist_select_cb (GtkWidget * widget, gpointer data)
   ResetFoundLinesAndPolygons (false);
   FreeConnectionLookupMemory ();
   IncrementUndoSerialNumber ();
-  ghid_invalidate_all ();
+  Draw ();
 }
 
 static void
diff --git a/src/hid/lesstif/netlist.c b/src/hid/lesstif/netlist.c
index ee6d723..3438b33 100644
--- a/src/hid/lesstif/netlist.c
+++ b/src/hid/lesstif/netlist.c
@@ -149,6 +149,7 @@ nbcb_select_common (LibraryMenuTypePtr net, int pos, int select_flag)
   ResetFoundLinesAndPolygons (false);
   FreeConnectionLookupMemory ();
   IncrementUndoSerialNumber ();
+  Draw ();
 }
 
 static void
diff --git a/src/select.c b/src/select.c
index c4b5e17..87dc661 100644
--- a/src/select.c
+++ b/src/select.c
@@ -850,7 +850,6 @@ SelectConnection (bool Flag)
       }
   }
   END_LOOP;
-  Draw ();
   return (changed);
 }
 




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