aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;