aboutsummaryrefslogtreecommitdiff
path: root/include/notifications
diff options
context:
space:
mode:
authorArthur Mello <arthur.mello@canonical.com>2016-06-29 21:37:56 -0300
committerRobert Tari <robert@tari.in>2021-07-08 01:51:40 +0200
commitfb29c9e706c143e38726ea057fdb754a8e30c2aa (patch)
tree23eb102936ea63c23d5cf234a290606d60d3d21f /include/notifications
parent1893e15b2ccb06b72df6bbd522ba8707eccedac1 (diff)
downloadayatana-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.h6
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;