diff options
author | Arthur Mello <arthur.mello@canonical.com> | 2016-06-29 21:37:56 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-08 01:51:40 +0200 |
commit | fb29c9e706c143e38726ea057fdb754a8e30c2aa (patch) | |
tree | 23eb102936ea63c23d5cf234a290606d60d3d21f /include/notifications | |
parent | 1893e15b2ccb06b72df6bbd522ba8707eccedac1 (diff) | |
download | ayatana-indicator-datetime-fb29c9e706c143e38726ea057fdb754a8e30c2aa.tar.gz ayatana-indicator-datetime-fb29c9e706c143e38726ea057fdb754a8e30c2aa.tar.bz2 ayatana-indicator-datetime-fb29c9e706c143e38726ea057fdb754a8e30c2aa.zip |
Fix notifications so it respects if it should or not show bubbles or add to notification list
Diffstat (limited to 'include/notifications')
-rw-r--r-- | include/notifications/notifications.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/notifications/notifications.h b/include/notifications/notifications.h index 450c45b..a76ec45 100644 --- a/include/notifications/notifications.h +++ b/include/notifications/notifications.h @@ -77,6 +77,12 @@ public: /** Sets the time-out callback. This will be called exactly once. */ void set_timeout_callback (std::function<void()>); + /** Sets if a notification bubble should be displayed. */ + void set_show_notification_bubble (bool show); + + /** Sets if notification should be posted to messaging menu after it is closed. */ + void set_post_to_messaging_menu (bool post); + private: friend class Engine; |