aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-10 13:23:44 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-10 13:23:44 +0100
commitce103610a4643738f42e54bfd39bd940cb6e2c38 (patch)
treec5bf6bd0d31a2f1f253a18518c9720516008c691
parenta692593a37fe8a910d69fb8ef392a99d08671362 (diff)
parent2b3772ab5af8705a5418170c8b8cd1ff83873483 (diff)
downloadayatana-indicator-power-ce103610a4643738f42e54bfd39bd940cb6e2c38.tar.gz
ayatana-indicator-power-ce103610a4643738f42e54bfd39bd940cb6e2c38.tar.bz2
ayatana-indicator-power-ce103610a4643738f42e54bfd39bd940cb6e2c38.zip
Merge branch 'tari01-pr/rename-to-x-lomiri'
Attributes GH PR #48: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/48
-rw-r--r--src/notifier.c8
-rw-r--r--tests/test-notify.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 4bd55c1..c5b6eb1 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -326,10 +326,10 @@ notification_show(IndicatorPowerNotifier * self)
}
}
- 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_hint(nn, "x-lomiri-snap-decisions", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-lomiri-non-shaped-icon", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-lomiri-private-affirmative-tint", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-lomiri-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);
diff --git a/tests/test-notify.cc b/tests/test-notify.cc
index c6eefa6..eebd8c4 100644
--- a/tests/test-notify.cc
+++ b/tests/test-notify.cc
@@ -69,7 +69,7 @@ protected:
static constexpr char const * METHOD_GET_INFO {"GetServerInformation"};
static constexpr char const * SIGNAL_CLOSED {"NotificationClosed"};
- static constexpr char const * HINT_TIMEOUT {"x-ayatana-snap-decisions-timeout"};
+ static constexpr char const * HINT_TIMEOUT {"x-lomiri-snap-decisions-timeout"};
protected: