diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 14:34:44 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 18:33:03 +0100 |
commit | 422443fc5c653bfd68aad90a2556a62f1edf1333 (patch) | |
tree | 72c941cdab3684b982da1b6e4053aaf0623a2821 /src/notifier.c | |
parent | 4d9589837e532df1015f7579439703c0af0164ca (diff) | |
download | ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.tar.gz ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.tar.bz2 ayatana-indicator-power-422443fc5c653bfd68aad90a2556a62f1edf1333.zip |
Make URL dispatcher build-dependency optional and handle battery settings request appropriately.
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/notifier.c b/src/notifier.c index f51032e..123ee6f 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -20,8 +20,7 @@ #include "dbus-battery.h" #include "dbus-shared.h" #include "notifier.h" - -#include <url-dispatcher.h> +#include "utils.h" #include <libnotify/notify.h> @@ -172,7 +171,7 @@ on_battery_settings_clicked(NotifyNotification * nn G_GNUC_UNUSED, char * action G_GNUC_UNUSED, gpointer user_data G_GNUC_UNUSED) { - url_dispatch_send("settings:///system/battery", NULL, NULL); + utils_handle_settings_request(); } static void |