diff options
author | Robert Tari <robert@tari.in> | 2021-03-26 12:34:11 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-03 22:41:45 +0200 |
commit | 29f1219a0f23aa5c64a064903f5adc8544ab3f0e (patch) | |
tree | 95b770e093537da521f5da6943b62006b82d0e31 /src | |
parent | 03e887abe5945aa214de52ce2a9a2a82471024e6 (diff) | |
download | ayatana-indicator-power-29f1219a0f23aa5c64a064903f5adc8544ab3f0e.tar.gz ayatana-indicator-power-29f1219a0f23aa5c64a064903f5adc8544ab3f0e.tar.bz2 ayatana-indicator-power-29f1219a0f23aa5c64a064903f5adc8544ab3f0e.zip |
Add Budgie desktop support.
Fixes AyatanaIndicators/ayatana-indicator-power#2
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 | ||||
-rw-r--r-- | src/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index c0e554e..f36c63f 100644 --- a/src/service.c +++ b/src/service.c @@ -819,7 +819,7 @@ on_statistics_activated (GSimpleAction * a G_GNUC_UNUSED, execute_command (cmd); g_free (cmd); } - else if (is_gnome() || is_unity()) + else if (is_budgie() || is_gnome() || is_unity()) { char *cmd = g_strconcat ("gnome-power-statistics", " --device ", g_variant_get_string (param, NULL), NULL); diff --git a/src/utils.c b/src/utils.c index 8c2964b..9a5495f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -101,7 +101,7 @@ utils_handle_settings_request (void) { control_center_cmd = "switchboard --open-plug system-pantheon-power"; } - else if (is_unity() || is_gnome()) + else if (is_budgie() || is_unity() || is_gnome()) { gchar *path; |