aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-12 08:40:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-12 08:16:04 +0000
commit0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f (patch)
tree4af026cbc883daf53fb57056fe5d14fbe3c618d2 /src/notifier.c
parent511915f11b83c0b0327b9ed393e5bc2ff3b828a0 (diff)
downloadayatana-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/notifier.c')
-rw-r--r--src/notifier.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 4888610..5608662 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -73,7 +73,7 @@ typedef struct
NotifyNotification * notify_notification;
GDBusConnection * bus;
- DbusBattery * dbus_battery; /* com.canonical.indicator.power.Battery skeleton */
+ DbusBattery * dbus_battery; /* org.ayatana.indicator.power.Battery skeleton */
gboolean caps_queried;
gboolean actions_supported;
@@ -244,10 +244,10 @@ notification_show(IndicatorPowerNotifier * self)
if (are_actions_supported(self))
{
- notify_notification_set_hint(nn, "x-canonical-snap-decisions", g_variant_new_string("true"));
- notify_notification_set_hint(nn, "x-canonical-non-shaped-icon", g_variant_new_string("true"));
- notify_notification_set_hint(nn, "x-canonical-private-affirmative-tint", g_variant_new_string("true"));
- notify_notification_set_hint(nn, "x-canonical-snap-decisions-timeout", g_variant_new_int32(INT32_MAX));
+ notify_notification_set_hint(nn, "x-ayatana-snap-decisions", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-ayatana-non-shaped-icon", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-ayatana-private-affirmative-tint", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-ayatana-snap-decisions-timeout", g_variant_new_int32(INT32_MAX));
notify_notification_set_timeout(nn, NOTIFY_EXPIRES_NEVER);
notify_notification_add_action(nn, "dismiss", _("OK"), on_dismiss_clicked, NULL, NULL);
notify_notification_add_action(nn, "settings", _("Battery settings"), on_battery_settings_clicked, NULL, NULL);