[gnome-control-center] shell: Connect to "handle-local-options" signal
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Connect to "handle-local-options" signal
- Date: Thu, 16 Jul 2015 10:10:39 +0000 (UTC)
commit b3138a4c0fed20bd949144839ba7919035b3bb52
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Jun 23 16:54:42 2015 +0200
shell: Connect to "handle-local-options" signal
https://bugzilla.gnome.org/show_bug.cgi?id=751597
shell/cc-application.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-application.c b/shell/cc-application.c
index 2d682bf..c24bdd5 100644
--- a/shell/cc-application.c
+++ b/shell/cc-application.c
@@ -109,6 +109,12 @@ launch_panel_activated (GSimpleAction *action,
g_application_activate (G_APPLICATION (self));
}
+static gint
+cc_application_handle_local_options (GApplication *application, GVariantDict *options)
+{
+ return -1;
+}
+
static int
cc_application_command_line (GApplication *application,
GApplicationCommandLine *command_line)
@@ -322,6 +328,7 @@ cc_application_class_init (CcApplicationClass *class)
application_class->activate = cc_application_activate;
application_class->startup = cc_application_startup;
application_class->command_line = cc_application_command_line;
+ application_class->handle_local_options = cc_application_handle_local_options;
g_type_class_add_private (class, sizeof (CcApplicationPrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]