gtk+ r22152 - in trunk: . gtk



Author: cdywan
Date: Wed Jan 21 00:03:00 2009
New Revision: 22152
URL: http://svn.gnome.org/viewvc/gtk+?rev=22152&view=rev

Log:
2009-01-21  Christian Dywan  <christian twotoasts de>

	Bug 567413 â GtkComboBoxEntry doesn't emit "changed" signal
        on entry editing

	* gtk/gtkcombobox.c (gtk_combo_box_set_active): Return only if index
        is set. Patch by Carl-Anton Ingmarsson.

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkcombobox.c

Modified: trunk/gtk/gtkcombobox.c
==============================================================================
--- trunk/gtk/gtkcombobox.c	(original)
+++ trunk/gtk/gtkcombobox.c	Wed Jan 21 00:03:00 2009
@@ -4845,7 +4845,8 @@
     {
       /* Save index, in case the model is set after the index */
       combo_box->priv->active = index_;
-      return;
+      if (index_ != -1)
+        return;
     }
 
   if (index_ != -1)



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