aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-03 22:43:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-03 22:43:39 +0200
commitf188111464a0741f18ec1c6735539236f7860505 (patch)
tree95b770e093537da521f5da6943b62006b82d0e31
parent03e887abe5945aa214de52ce2a9a2a82471024e6 (diff)
parent29f1219a0f23aa5c64a064903f5adc8544ab3f0e (diff)
downloadayatana-indicator-power-f188111464a0741f18ec1c6735539236f7860505.tar.gz
ayatana-indicator-power-f188111464a0741f18ec1c6735539236f7860505.tar.bz2
ayatana-indicator-power-f188111464a0741f18ec1c6735539236f7860505.zip
Merge branch 'tari01-pr/add-budgie'
Attributes GH PR #23: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/23
-rw-r--r--src/service.c2
-rw-r--r--src/utils.c2
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;