[gnome-control-center] application: activate application when launching a panel
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] application: activate application when launching a panel
- Date: Mon, 13 Jan 2014 17:22:32 +0000 (UTC)
commit 73137e207113fdf1f60c2cc56784bd2cf1ba7551
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Fri Jan 10 15:45:07 2014 -0800
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-application.c b/shell/cc-application.c
index 7a21086..06d9110 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]