[gnome-bluetooth] Stop start-up notification when presenting running windows
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Stop start-up notification when presenting running windows
- Date: Wed, 25 Nov 2009 11:12:19 +0000 (UTC)
commit c5ff8578fa55ad5e0e0cf57e8640f1d972a039ad
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 25 11:10:49 2009 +0000
Stop start-up notification when presenting running windows
https://bugzilla.gnome.org/show_bug.cgi?id=602861
applet/main.c | 1 +
properties/main.c | 1 +
wizard/main.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index fe159e1..d719e3e 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -1015,6 +1015,7 @@ int main(int argc, char *argv[])
if (option_debug == FALSE) {
app = unique_app_new ("org.gnome.Bluetooth.applet", NULL);
if (unique_app_is_running (app)) {
+ gdk_notify_startup_complete ();
g_warning ("Applet is already running, exiting");
return 0;
}
diff --git a/properties/main.c b/properties/main.c
index 4bf511e..289aebb 100644
--- a/properties/main.c
+++ b/properties/main.c
@@ -276,6 +276,7 @@ int main(int argc, char *argv[])
app = unique_app_new ("org.gnome.Bluetooth.properties", NULL);
if (unique_app_is_running (app)) {
+ gdk_notify_startup_complete ();
unique_app_send_message (app, UNIQUE_ACTIVATE, NULL);
return 0;
}
diff --git a/wizard/main.c b/wizard/main.c
index 9bcfc33..74fdbde 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -1021,6 +1021,7 @@ int main (int argc, char **argv)
app = unique_app_new ("org.gnome.Bluetooth.wizard", NULL);
if (unique_app_is_running (app)) {
+ gdk_notify_startup_complete ();
unique_app_send_message (app, UNIQUE_ACTIVATE, NULL);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]