aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-09-03 00:41:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-05 13:05:14 +0200
commit24d102c12a1470726c1d5321a918825cd3d18527 (patch)
treecc0c9ce3d45980673fbf336019791e3684f2c457 /include
parent28ddb97415d894ee01d358d39289c8bd7528a9f2 (diff)
downloadayatana-indicator-datetime-24d102c12a1470726c1d5321a918825cd3d18527.tar.gz
ayatana-indicator-datetime-24d102c12a1470726c1d5321a918825cd3d18527.tar.bz2
ayatana-indicator-datetime-24d102c12a1470726c1d5321a918825cd3d18527.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/datetime/settings-live.h1
-rw-r--r--include/datetime/settings-shared.h1
-rw-r--r--include/datetime/settings.h1
3 files changed, 0 insertions, 3 deletions
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<std::string> custom_time_format;
core::Property<std::vector<std::string>> locations;
core::Property<bool> show_calendar;
- core::Property<bool> show_clock;
core::Property<bool> show_date;
core::Property<bool> show_day;
core::Property<bool> show_detected_location;