diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-09-25 17:16:22 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-09-25 17:16:22 -0500 |
commit | 158a962cee927c7b4cb9a70266681886a8895b48 (patch) | |
tree | 13f4315dad78741520fa50b51c858e98ffc7c532 /src/service.c | |
parent | 25c81ec9557e4cb1254fc44fa2a412b41d42ba47 (diff) | |
download | ayatana-indicator-datetime-158a962cee927c7b4cb9a70266681886a8895b48.tar.gz ayatana-indicator-datetime-158a962cee927c7b4cb9a70266681886a8895b48.tar.bz2 ayatana-indicator-datetime-158a962cee927c7b4cb9a70266681886a8895b48.zip |
Use url-dispatcher instead of invoking system-settings directly.
Diffstat (limited to 'src/service.c')
-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 |