[nautilus/gnome-2-32: 232/283] Change clicked signal to toggled to not get into bad state (#440435)



commit bca12dca67aca5cd3b83432846dc5ab531e95f15
Author: Marcus Carlson <mdc src gnome org>
Date:   Sat Jul 10 17:09:03 2010 +0200

    Change clicked signal to toggled to not get into bad state (#440435)

 src/nautilus-property-browser.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-property-browser.c b/src/nautilus-property-browser.c
index 26b1368..e166374 100644
--- a/src/nautilus-property-browser.c
+++ b/src/nautilus-property-browser.c
@@ -820,7 +820,7 @@ make_color_drag_image (NautilusPropertyBrowser *property_browser, const char *co
 /* this callback handles button presses on the category widget. It maintains the active state */
 
 static void
-category_clicked_callback (GtkWidget *widget, char *category_name)
+category_toggled_callback (GtkWidget *widget, char *category_name)
 {
 	NautilusPropertyBrowser *property_browser;
 	
@@ -2042,8 +2042,8 @@ make_category_link (NautilusPropertyBrowser *property_browser,
 	/* add a signal to handle clicks */
 	g_object_set_data (G_OBJECT(button), "user_data", property_browser);
 	g_signal_connect_data
-		(button, "clicked",
-		 G_CALLBACK (category_clicked_callback),
+		(button, "toggled",
+		 G_CALLBACK (category_toggled_callback),
 		 g_strdup (name), (GClosureNotify) g_free, 0);
 }
 



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