diff options
author | Arthur Mello <arthur.mello@canonical.com> | 2016-07-04 16:30:18 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-08 02:23:04 +0200 |
commit | d61975b6145c245bf8df5322942395b101ca57c9 (patch) | |
tree | 559cd8fb730c13535d3fb0faa2e9f3b7ed7df9e4 /include/datetime/settings-live.h | |
parent | 46b0ac44948f06f37d93886996e21c0ed9e014cd (diff) | |
download | ayatana-indicator-datetime-d61975b6145c245bf8df5322942395b101ca57c9.tar.gz ayatana-indicator-datetime-d61975b6145c245bf8df5322942395b101ca57c9.tar.bz2 ayatana-indicator-datetime-d61975b6145c245bf8df5322942395b101ca57c9.zip |
If in silent mode should only vibrate if the settings say so
Diffstat (limited to 'include/datetime/settings-live.h')
-rw-r--r-- | include/datetime/settings-live.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h index 4aeaa9b..85071ce 100644 --- a/include/datetime/settings-live.h +++ b/include/datetime/settings-live.h @@ -40,8 +40,10 @@ public: private: static void on_changed_ccid(GSettings*, gchar*, gpointer); static void on_changed_cal_notification(GSettings*, gchar*, gpointer); + static void on_changed_general_notification(GSettings*, gchar*, gpointer); void update_key_ccid(const std::string& key); void update_key_cal_notification(const std::string& key); + void update_key_general_notification(const std::string& key); void update_custom_time_format(); void update_locations(); @@ -67,9 +69,11 @@ private: void update_cal_notification_vibrations(); void update_cal_notification_bubbles(); void update_cal_notification_list(); + void update_vibrate_silent_mode(); GSettings* m_settings; GSettings* m_settings_cal_notification; + GSettings* m_settings_general_notification; // we've got a raw pointer here, so disable copying LiveSettings(const LiveSettings&) =delete; |