From: Bastien Nocera <hadess@hadess.net>
To: BlueZ Hackers <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases
Date: Tue, 24 Jul 2007 16:55:46 +0100 [thread overview]
Message-ID: <1185292546.3641.121.camel@cookie.hadess.net> (raw)
[-- 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
next reply other threads:[~2007-07-24 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-24 15:55 Bastien Nocera [this message]
2007-07-24 16:02 ` [Bluez-devel] [PATCH] bluez-gnome avoid popping up the notification in more cases Bastien Nocera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1185292546.3641.121.camel@cookie.hadess.net \
--to=hadess@hadess.net \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.