aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-01 08:09:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-01 08:09:39 +0100
commit2e0b3e5326b284050814a4708b3cf89fc3cdb6e4 (patch)
tree39e21701e11576883979856e23206423c429f979 /src
parent9496810bad9bc155b81d6f8ab6d92dc94bab65d5 (diff)
parent4cefa0be54d08f71776be3b0bd6470791799f251 (diff)
downloadayatana-indicator-power-2e0b3e5326b284050814a4708b3cf89fc3cdb6e4.tar.gz
ayatana-indicator-power-2e0b3e5326b284050814a4708b3cf89fc3cdb6e4.tar.bz2
ayatana-indicator-power-2e0b3e5326b284050814a4708b3cf89fc3cdb6e4.zip
Merge branch 'tari01-pr/x-canonical-to-x-ayatana'
Attributes GH PR #44: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/44
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 098c9b8..26a8ce7 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -1,5 +1,6 @@
/*
* Copyright 2014-2016 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include "datafiles.h"
@@ -324,10 +326,10 @@ notification_show(IndicatorPowerNotifier * 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);