aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-09 01:24:26 +0100
committerRobert Tari <robert@tari.in>2021-11-09 01:24:26 +0100
commit2b3772ab5af8705a5418170c8b8cd1ff83873483 (patch)
treec5bf6bd0d31a2f1f253a18518c9720516008c691
parenta692593a37fe8a910d69fb8ef392a99d08671362 (diff)
downloadayatana-indicator-power-2b3772ab5af8705a5418170c8b8cd1ff83873483.tar.gz
ayatana-indicator-power-2b3772ab5af8705a5418170c8b8cd1ff83873483.tar.bz2
ayatana-indicator-power-2b3772ab5af8705a5418170c8b8cd1ff83873483.zip
Rename Lomiri-specific properties to x-lomiri
-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: