aboutsummaryrefslogtreecommitdiff
path: root/src/brightness.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-02 12:37:42 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-02 12:37:42 +0200
commitef2ba34948bb0064c5732f92bf9b7bc9322d97f4 (patch)
tree9866aa70a06133753184de1a5b8f1d354186f245 /src/brightness.c
parentff21a6cf7f4a65a53a0a51d6017ede32ab942cb1 (diff)
downloadayatana-indicator-power-ef2ba34948bb0064c5732f92bf9b7bc9322d97f4.tar.gz
ayatana-indicator-power-ef2ba34948bb0064c5732f92bf9b7bc9322d97f4.tar.bz2
ayatana-indicator-power-ef2ba34948bb0064c5732f92bf9b7bc9322d97f4.zip
one step back, let's keep this Ubuntu-centric, we need to add a org.gnome.SettingsDaemon-way of doing this...
Diffstat (limited to 'src/brightness.c')
-rw-r--r--src/brightness.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/brightness.c b/src/brightness.c
index 1f36aca..fde0c3d 100644
--- a/src/brightness.c
+++ b/src/brightness.c
@@ -198,7 +198,7 @@ percentage_to_brightness(IndicatorPowerBrightness * self, double percentage)
}
/**
- * DBus Chatter: org.ayatana.powerd
+ * DBus Chatter: com.canonical.powerd
*
* This is used to get default value, and upper and lower bounds,
* of the brightness setting
@@ -339,7 +339,7 @@ on_powerd_proxy_ready(GObject * source_object G_GNUC_UNUSED,
}
/**
- * DBus Chatter: org.ayatana.Unity.Screen
+ * DBus Chatter: com.canonical.Unity.Screen
*
* Used to set the backlight brightness via setUserBrightness
*/
@@ -374,9 +374,9 @@ set_uscreen_user_brightness(IndicatorPowerBrightness * self,
priv_t * p = get_priv(self);
g_dbus_connection_call(p->system_bus,
- "org.ayatana.Unity.Screen",
- "/org.ayatana.Unity/Screen",
- "org.ayatana.Unity.Screen",
+ "com.canonical.Unity.Screen",
+ "/com.canonical/Unity.Screen",
+ "com.canonical.Unity.Screen",
"setUserBrightness",
g_variant_new("(i)", value),
NULL, /* no return args */
@@ -463,8 +463,8 @@ indicator_power_brightness_init(IndicatorPowerBrightness * self)
dbus_powerd_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES,
- "org.ayatana.powerd",
- "/org.ayatana.powerd",
+ "com.canonical.powerd",
+ "/com/canonical/powerd",
p->cancellable,
on_powerd_proxy_ready,
self);