From 24d102c12a1470726c1d5321a918825cd3d18527 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 3 Sep 2020 00:41:17 +0200 Subject: gsettings: Drop the 'show-clock' setting. Always show the clock. The 'show-clock' gsetting option made it possible to "hide" the time from the indicator. Fixes AyatanaIndicator/ayatana-indicator-datetime#16. --- include/datetime/settings-live.h | 1 - include/datetime/settings-shared.h | 1 - include/datetime/settings.h | 1 - 3 files changed, 3 deletions(-) (limited to 'include/datetime') diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h index ead1dc2..ccf7122 100644 --- a/include/datetime/settings-live.h +++ b/include/datetime/settings-live.h @@ -44,7 +44,6 @@ private: void update_custom_time_format(); void update_locations(); void update_show_calendar(); - void update_show_clock(); void update_show_date(); void update_show_day(); void update_show_detected_locations(); diff --git a/include/datetime/settings-shared.h b/include/datetime/settings-shared.h index 2ce556a..bd84a2d 100644 --- a/include/datetime/settings-shared.h +++ b/include/datetime/settings-shared.h @@ -31,7 +31,6 @@ typedef enum TimeFormatMode; #define SETTINGS_INTERFACE "org.ayatana.indicator.datetime" -#define SETTINGS_SHOW_CLOCK_S "show-clock" #define SETTINGS_TIME_FORMAT_S "time-format" #define SETTINGS_SHOW_SECONDS_S "show-seconds" #define SETTINGS_SHOW_DAY_S "show-day" diff --git a/include/datetime/settings.h b/include/datetime/settings.h index fa64724..253a00a 100644 --- a/include/datetime/settings.h +++ b/include/datetime/settings.h @@ -45,7 +45,6 @@ public: core::Property custom_time_format; core::Property> locations; core::Property show_calendar; - core::Property show_clock; core::Property show_date; core::Property show_day; core::Property show_detected_location; -- cgit v1.2.3