From 73137e207113fdf1f60c2cc56784bd2cf1ba7551 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 10 Jan 2014 15:45:07 -0800 Subject: [PATCH] application: activate application when launching a panel This ensures the control-center window is correctly presented if the application is already running when the action is activated. https://bugzilla.gnome.org/show_bug.cgi?id=721969 --- shell/cc-application.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/cc-application.c b/shell/cc-application.c index 7a21086d6..06d9110f0 100644 --- a/shell/cc-application.c +++ b/shell/cc-application.c @@ -116,6 +116,9 @@ launch_panel_activated (GSimpleAction *action, g_error_free (error); } g_variant_unref (parameters); + + /* Now present the window */ + g_application_activate (G_APPLICATION (self)); } static int