gnome-bluetooth r518 - trunk/applet



Author: hadess
Date: Fri Mar 20 16:37:37 2009
New Revision: 518
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=518&view=rev

Log:
Make killswitch work again

By checking the "bt-active" property on the correct object.



Modified:
   trunk/applet/main.c

Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c	(original)
+++ trunk/applet/main.c	Fri Mar 20 16:37:37 2009
@@ -164,7 +164,7 @@
 	GObject *object;
 	gboolean active;
 
-	object = gtk_builder_get_object (xml, "killswitch-label");
+	object = gtk_builder_get_object (xml, "killswitch");
 	active = GPOINTER_TO_INT (g_object_get_data (object, "bt-active"));
 	active = !active;
 	bluetooth_killswitch_set_state (killswitch,



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