aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRatchanan Srirattanamet <ratchanan@ubports.com>2023-12-08 17:02:05 +0700
committerRatchanan Srirattanamet <ratchanan@ubports.com>2023-12-08 17:02:05 +0700
commitc96d7eda53f5eb73cf4d3c850de2f444035ae8f3 (patch)
treeac34cc8a86c9da8da8f6bf6dbd1cbdc882c5b9c8
parent28b0b55e98b9e955209e5a26f28acc9b1b6e43ad (diff)
downloadayatana-indicator-power-c96d7eda53f5eb73cf4d3c850de2f444035ae8f3.tar.gz
ayatana-indicator-power-c96d7eda53f5eb73cf4d3c850de2f444035ae8f3.tar.bz2
ayatana-indicator-power-c96d7eda53f5eb73cf4d3c850de2f444035ae8f3.zip
Confirm that all supposedly boolean hints take stringspersonal/peat-psuwit/bring-back-lomiri-hints
-rw-r--r--src/notifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 73f62b4..5f0562e 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -379,6 +379,7 @@ notification_show(IndicatorPowerNotifier * self)
}
#ifdef LOMIRI_FEATURES_ENABLED
if (are_lomiri_snap_decisions_supported(self)) {
+ /* Yes, all supposedly boolean values take strings... */
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"));