diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2018-03-26 16:26:09 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-26 21:07:40 +0000 |
commit | 2e14b67ca57829d097b9e850e95b96934ec7d97d (patch) | |
tree | 45b9248d5ed794527ebf84d8c100018ed1d13a67 /include | |
parent | c8ec1314bd2e92529fdeaf05cbead67eef7e2320 (diff) | |
download | ayatana-indicator-datetime-2e14b67ca57829d097b9e850e95b96934ec7d97d.tar.gz ayatana-indicator-datetime-2e14b67ca57829d097b9e850e95b96934ec7d97d.tar.bz2 ayatana-indicator-datetime-2e14b67ca57829d097b9e850e95b96934ec7d97d.zip |
honor gsettings for calendar events
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/settings-live.h | 1 | ||||
-rw-r--r-- | include/datetime/settings-shared.h | 1 | ||||
-rw-r--r-- | include/datetime/settings.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h index af99596..ead1dc2 100644 --- a/include/datetime/settings-live.h +++ b/include/datetime/settings-live.h @@ -55,6 +55,7 @@ private: void update_show_year(); void update_time_format_mode(); void update_timezone_name(); + void update_calendar_sound(); void update_alarm_sound(); void update_alarm_volume(); void update_alarm_duration(); diff --git a/include/datetime/settings-shared.h b/include/datetime/settings-shared.h index 59a9da1..2ce556a 100644 --- a/include/datetime/settings-shared.h +++ b/include/datetime/settings-shared.h @@ -45,6 +45,7 @@ TimeFormatMode; #define SETTINGS_SHOW_DETECTED_S "show-auto-detected-location" #define SETTINGS_LOCATIONS_S "locations" #define SETTINGS_TIMEZONE_NAME_S "timezone-name" +#define SETTINGS_CALENDAR_SOUND_S "calendar-default-sound" #define SETTINGS_ALARM_SOUND_S "alarm-default-sound" #define SETTINGS_ALARM_VOLUME_S "alarm-default-volume" #define SETTINGS_ALARM_DURATION_S "alarm-duration-minutes" diff --git a/include/datetime/settings.h b/include/datetime/settings.h index 343cd81..fa64724 100644 --- a/include/datetime/settings.h +++ b/include/datetime/settings.h @@ -56,6 +56,7 @@ public: core::Property<bool> show_year; core::Property<TimeFormatMode> time_format_mode; core::Property<std::string> timezone_name; + core::Property<std::string> calendar_sound; core::Property<std::string> alarm_sound; core::Property<std::string> alarm_haptic; core::Property<unsigned int> alarm_volume; |