gtk+ r22409 - in trunk: . gtk



Author: tvb
Date: Thu Feb 26 02:33:42 2009
New Revision: 22409
URL: http://svn.gnome.org/viewvc/gtk+?rev=22409&view=rev

Log:

	Bug 572904 â GtkRadioAction broken in trunk

	* gtk/gtkradioaction.c: When setting non active state always
	notify the action's active state (this prevents toggle type proxies
	used with radio actions from deactivating when pressed a second time).



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

Modified: trunk/gtk/gtkradioaction.c
==============================================================================
--- trunk/gtk/gtkradioaction.c	(original)
+++ trunk/gtk/gtkradioaction.c	Thu Feb 26 02:33:42 2009
@@ -327,10 +327,10 @@
 	    {
 	      toggle_action->private_data->active = !toggle_action->private_data->active;
 
-	      g_object_notify (G_OBJECT (action), "active");
 	      break;
 	    }
 	}
+      g_object_notify (G_OBJECT (action), "active");
     }
   else
     {



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