network-manager-applet r789 - trunk/src



Author: dcbw
Date: Thu Jul 10 02:46:16 2008
New Revision: 789
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=789&view=rev

Log:
Fix stupid bug preventing wireless enable/disable

Modified:
   trunk/src/applet.c

Modified: trunk/src/applet.c
==============================================================================
--- trunk/src/applet.c	(original)
+++ trunk/src/applet.c	Thu Jul 10 02:46:16 2008
@@ -1229,8 +1229,8 @@
 	                        applet->wifi_enabled_toggled_id);
 	gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (applet->wifi_enabled_item),
 	                                nm_client_wireless_get_enabled (applet->nm_client));
-	g_signal_handler_block (G_OBJECT (applet->wifi_enabled_item),
-	                        applet->wifi_enabled_toggled_id);
+	g_signal_handler_unblock (G_OBJECT (applet->wifi_enabled_item),
+	                          applet->wifi_enabled_toggled_id);
 
 	wireless_hw_enabled = nm_client_wireless_hardware_get_enabled (applet->nm_client);
 	gtk_widget_set_sensitive (GTK_WIDGET (applet->wifi_enabled_item),



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