[gnome-control-center/extensible-shell] shell: cancel the startup notification when raising another instance



commit 0fe941396dc3256075b2a58e40737ddd026fdf36
Author: Thomas Wood <thomas wood intel com>
Date:   Wed Apr 21 11:34:17 2010 +0100

    shell: cancel the startup notification when raising another instance
    
    GTK+ only automatically cancels startup notification when the first window
    is shown. Therefore, when the shell is raising an existing window rather
    than creating a new one, the startup notification should be cancelled
    manually.

 shell/control-center.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index 8bb6e0b..1f4b6ee 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -514,6 +514,8 @@ main (int argc, char **argv)
         data = NULL;
 
       unique_app_send_message (unique, 1, data);
+
+      gdk_notify_startup_complete ();
       return 0;
     }
 



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