diff options
author | Arthur Mello <arthur.mello@canonical.com> | 2016-06-29 21:37:56 -0300 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | f42d0a01dcbd66920f65d1e5bd784914a797d773 (patch) | |
tree | c7b060be21ebc32bf85b8e038008cf814b6393db /include/notifications/notifications.h | |
parent | c12e9b28189aa11a28ca883cc4d5ecb4da57db7c (diff) | |
download | ayatana-indicator-datetime-f42d0a01dcbd66920f65d1e5bd784914a797d773.tar.gz ayatana-indicator-datetime-f42d0a01dcbd66920f65d1e5bd784914a797d773.tar.bz2 ayatana-indicator-datetime-f42d0a01dcbd66920f65d1e5bd784914a797d773.zip |
Fix notifications so it respects if it should or not show bubbles or add to notification list
Diffstat (limited to 'include/notifications/notifications.h')
-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; |