diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notifications.cpp | 2 | ||||
-rw-r--r-- | src/snap.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/notifications.cpp b/src/notifications.cpp index 18f15d9..58a6e83 100644 --- a/src/notifications.cpp +++ b/src/notifications.cpp @@ -198,7 +198,7 @@ public: { notify_notification_set_hint (nn.get(), hint.c_str(), - g_variant_new_boolean(true)); + g_variant_new_string("true")); } for (const auto& action : info.m_actions) diff --git a/src/snap.cpp b/src/snap.cpp index c2cbc0a..f84d9b3 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -91,8 +91,8 @@ public: b.set_body (appointment.summary); b.set_icon_name ("alarm-clock"); b.add_hint (uin::Builder::HINT_SNAP); - b.add_hint (uin::Builder::HINT_TINT); - b.add_hint (uin::Builder::HINT_NONSHAPEDICON); + b.add_hint (uin::Builder::HINT_AFFIRMATIVE_HINT); + b.add_hint (uin::Builder::HINT_NONSHAPED_ICON); const char * timefmt; if (is_locale_12h()) { |