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

gEDA-cvs: gaf.git: branch: master updated (1.6.0-20091004-13-g69f7faf)



The branch, master has been updated
       via  69f7faf706f7eba312d012fdaa2d4c81df97051c (commit)
      from  e1c4dab66eea9b253b3be4e006e4ab741b62024e (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/x_compselect.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


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

commit 69f7faf706f7eba312d012fdaa2d4c81df97051c
Author: Roland Lutz <gaf@xxxxxxxxxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Allow double-click to select component in Compselect dialog [#2661223]

:100644 100644 931c2c1... 7e39e1c... M	gschem/src/x_compselect.c

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

commit 69f7faf706f7eba312d012fdaa2d4c81df97051c
Author: Roland Lutz <gaf@xxxxxxxxxxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Allow double-click to select component in Compselect dialog [#2661223]

diff --git a/gschem/src/x_compselect.c b/gschem/src/x_compselect.c
index 931c2c1..7e39e1c 100644
--- a/gschem/src/x_compselect.c
+++ b/gschem/src/x_compselect.c
@@ -443,12 +443,16 @@ tree_row_activated (GtkTreeView       *tree_view,
 {
   GtkTreeModel *model;
   GtkTreeIter iter;
+  Compselect *compselect = (Compselect*)user_data;
 
   model = gtk_tree_view_get_model (tree_view);
   gtk_tree_model_get_iter (model, &iter, path);
 
-  if (!gtk_tree_model_iter_has_child (model, &iter))
+  if (!gtk_tree_model_iter_has_child (model, &iter)) {
+    gtk_dialog_response (GTK_DIALOG (compselect),
+                         COMPSELECT_RESPONSE_HIDE);
     return;
+  }
 
   if (gtk_tree_view_row_expanded (tree_view, path))
     gtk_tree_view_collapse_row (tree_view, path);




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