diff options
-rw-r--r-- | include/notifications/notifications.h | 5 | ||||
-rw-r--r-- | src/snap.cpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/notifications/notifications.h b/include/notifications/notifications.h index 260b466..c95e829 100644 --- a/include/notifications/notifications.h +++ b/include/notifications/notifications.h @@ -59,8 +59,9 @@ public: These keys may be dependent on the notification server. */ void add_hint (const std::string& name); static constexpr char const * HINT_SNAP {"x-canonical-snap-decisions"}; - static constexpr char const * HINT_TINT {"x-canonical-private-button-tint"}; - static constexpr char const * HINT_NONSHAPEDICON {"x-canonical-non-shaped-icon"}; + static constexpr char const * HINT_NONSHAPED_ICON {"x-canonical-non-shaped-icon"}; + static constexpr char const * HINT_AFFIRMATIVE_HINT {"x-canonical-private-affirmative-tint"}; + static constexpr char const * HINT_REJECTION_TINT {"x-canonical-private-rejection-tint"}; /* Add an action button. This may fail if the Engine doesn't support actions. diff --git a/src/snap.cpp b/src/snap.cpp index c2cbc0a..bb5c8e5 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -91,7 +91,7 @@ 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_AFFIRMATIVE_HINT); b.add_hint (uin::Builder::HINT_NONSHAPEDICON); const char * timefmt; |