Skip to contentSkip to conversation

bluez-gnome avoid popping up the notification in more cases

PATCH In review Bastien Nocera 1 participant 2 messages Jul 24, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez-gnome avoid popping up the notification in more cases

Another case in which we shouldn't popup the notification.

And a missing empty line.

Signature · 1 line
Bastien Nocera <[email protected]> 

Index: applet/main.c
===================================================================
RCS file: /cvsroot/bluez/gnome/applet/main.c,v
retrieving revision 1.67

main.c +6 -0
diff -u -p -r1.67 main.c
@@ -1115,6 +1115,11 @@ static void mode_changed(DBusGProxy *obj
 			return;
 		}
 		if (g_str_equal(adapter->old_mode, "off")
+		    && g_str_equal(mode, "connectable")) {
+			set_new_mode(adapter, mode);
+			return;
+		}
+		if (g_str_equal(adapter->old_mode, "off")
 				&& g_str_equal(mode, "connectable")) {
 			set_new_mode(adapter, mode);
 			return;
@@ -1229,6 +1234,7 @@ static char *get_form_factor(void)
 
 	return formfactor;
 }
+
 static void adapter_setup(gpointer data, gpointer user_data)
 {
 	struct adapter_data *adapter = data;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw
Quoted 3 lines · Bastien Nocera

Another case in which we shouldn't popup the notification.

And a missing empty line.

Ignore me, CVS is crap at merging conflicts, and I'm no better apparently :)

Signature · 12 lines
Bastien Nocera <[email protected]> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel