* [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases
@ 2007-07-24 15:55 Bastien Nocera
2007-07-24 16:02 ` Bastien Nocera
0 siblings, 1 reply; 2+ messages in thread
From: Bastien Nocera @ 2007-07-24 15:55 UTC (permalink / raw)
To: BlueZ Hackers
[-- Attachment #1: Type: text/plain, Size: 127 bytes --]
Another case in which we shouldn't popup the notification.
And a missing empty line.
--
Bastien Nocera <hadess@hadess.net>
[-- Attachment #2: bluez-gnome-avoid-popups-in-more-cases.patch --]
[-- Type: text/x-patch, Size: 826 bytes --]
Index: applet/main.c
===================================================================
RCS file: /cvsroot/bluez/gnome/applet/main.c,v
retrieving revision 1.67
diff -u -p -r1.67 main.c
--- applet/main.c 24 Jul 2007 15:19:33 -0000 1.67
+++ applet/main.c 24 Jul 2007 15:53:33 -0000
@@ -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;
[-- Attachment #3: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases
2007-07-24 15:55 [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases Bastien Nocera
@ 2007-07-24 16:02 ` Bastien Nocera
0 siblings, 0 replies; 2+ messages in thread
From: Bastien Nocera @ 2007-07-24 16:02 UTC (permalink / raw)
To: BlueZ development
On Tue, 2007-07-24 at 16:55 +0100, Bastien Nocera wrote:
> 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 :)
--
Bastien Nocera <hadess@hadess.net>
-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-24 16:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 15:55 [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases Bastien Nocera
2007-07-24 16:02 ` Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox