[PATCH] Default bluez-gnome UI to a connectable state

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

 



Looking through the code, it appears that bluetoothd does start up connectable, but the UI doesn't reflect this from the first boot.  This patch should address it.

Mario Limonciello 
Dell | Linux Engineering 
Mario_Limonciello@xxxxxxxx 
diff -Nur -x '*.orig' -x '*~' bluez-gnome-1.5/properties/adapter.c bluez-gnome-1.5.new/properties/adapter.c
--- bluez-gnome-1.5/properties/adapter.c	2008-08-24 16:14:24.000000000 -0500
+++ bluez-gnome-1.5.new/properties/adapter.c	2008-09-27 03:52:57.000000000 -0500
@@ -408,9 +408,8 @@
 					_("Other devices can connect"));
 	group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(button));
 	gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0);
-
-	if (mode && g_ascii_strcasecmp(mode, "connectable") == 0)
-		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
+	
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
 
 	adapter->button_connect = button;
 

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux