diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:40:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:16:04 +0000 |
commit | 0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f (patch) | |
tree | 4af026cbc883daf53fb57056fe5d14fbe3c618d2 /src/brightness.c | |
parent | 511915f11b83c0b0327b9ed393e5bc2ff3b828a0 (diff) | |
download | ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.gz ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.bz2 ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.zip |
Fork from Ubuntu's indicator-power code project.
Diffstat (limited to 'src/brightness.c')
-rw-r--r-- | src/brightness.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/brightness.c b/src/brightness.c index eb48515..1f36aca 100644 --- a/src/brightness.c +++ b/src/brightness.c @@ -198,7 +198,7 @@ percentage_to_brightness(IndicatorPowerBrightness * self, double percentage) } /** - * DBus Chatter: com.canonical.powerd + * DBus Chatter: org.ayatana.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: com.canonical.Unity.Screen + * DBus Chatter: org.ayatana.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, - "com.canonical.Unity.Screen", - "/com/canonical/Unity/Screen", - "com.canonical.Unity.Screen", + "org.ayatana.Unity.Screen", + "/org.ayatana.Unity/Screen", + "org.ayatana.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, - "com.canonical.powerd", - "/com/canonical/powerd", + "org.ayatana.powerd", + "/org.ayatana.powerd", p->cancellable, on_powerd_proxy_ready, self); |