diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-09-26 04:03:56 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-09-26 04:03:56 +0000 |
commit | 778244b47707e3bb561d9316721aa0e7c5143752 (patch) | |
tree | 13f4315dad78741520fa50b51c858e98ffc7c532 /src | |
parent | 25c81ec9557e4cb1254fc44fa2a412b41d42ba47 (diff) | |
parent | 158a962cee927c7b4cb9a70266681886a8895b48 (diff) | |
download | ayatana-indicator-datetime-778244b47707e3bb561d9316721aa0e7c5143752.tar.gz ayatana-indicator-datetime-778244b47707e3bb561d9316721aa0e7c5143752.tar.bz2 ayatana-indicator-datetime-778244b47707e3bb561d9316721aa0e7c5143752.zip |
Use url-dispatcher instead of invoking system-settings directly. Fixes: https://bugs.launchpad.net/bugs/1230819.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index ce8139f..2528f41 100644 --- a/src/service.c +++ b/src/service.c @@ -24,6 +24,7 @@ #include <glib/gi18n.h> #include <gio/gio.h> +#include <url-dispatcher.h> #include "dbus-shared.h" #include "planner-eds.h" @@ -1282,7 +1283,7 @@ on_phone_settings_activated (GSimpleAction * a G_GNUC_UNUSED, GVariant * param G_GNUC_UNUSED, gpointer gself G_GNUC_UNUSED) { - execute_command ("system-settings time-date"); + url_dispatch_send ("settings://system/time-date", NULL, NULL); } static void |