From da61c2a69e259b029c39a6deb0f65217d90e73e4 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 17 May 2012 15:46:42 -0500 Subject: Add the "Time in auto-detected location" setting described in https://wiki.ubuntu.com/TimeAndDate --- data/com.canonical.indicator.datetime.gschema.xml | 7 +++++++ data/datetime-dialog.ui | 19 ++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/com.canonical.indicator.datetime.gschema.xml b/data/com.canonical.indicator.datetime.gschema.xml index 8ce75e6..4f831d5 100644 --- a/data/com.canonical.indicator.datetime.gschema.xml +++ b/data/com.canonical.indicator.datetime.gschema.xml @@ -85,6 +85,13 @@ Shows events from Evolution in indicator-datetime's menu. + + false + Show the auto-detected location in the indicator + + Shows your current location (determined from geoclue and /etc/timezone) in indicator-datetime's menu. + + false Show locations in the indicator diff --git a/data/datetime-dialog.ui b/data/datetime-dialog.ui index f3110ec..3b777fc 100644 --- a/data/datetime-dialog.ui +++ b/data/datetime-dialog.ui @@ -678,6 +678,23 @@ 3 + + + Time in _auto-detected location + True + True + False + False + True + 0 + True + + + False + True + 4 + + Time in _other locations @@ -719,7 +736,7 @@ True True - 5 + 6 -- cgit v1.2.3 From b51315028eb616e966ca761e50c6b1114680c364 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 17 May 2012 15:53:17 -0500 Subject: Modify the timezone location sorting to follow mpt's design at https://wiki.ubuntu.com/TimeAndDate - the auto-detected location, if enabled, is listed before user-specified locations - Locations in the indicator always mirror the Locations Dialog's ordering - Added sort-by-name and sort-by-time buttons in the Locations Dialog --- data/datetime-dialog.ui | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'data') diff --git a/data/datetime-dialog.ui b/data/datetime-dialog.ui index 3b777fc..2b4cf67 100644 --- a/data/datetime-dialog.ui +++ b/data/datetime-dialog.ui @@ -28,6 +28,8 @@ True True locationsStore + False + False True 0 @@ -54,6 +56,7 @@ True False + 4 True @@ -104,10 +107,46 @@ 1 + + + Sort by _Name + False + True + True + True + False + True + + + + False + False + 6 + 2 + + + + + Sort by _Time + False + True + True + True + False + True + + + + False + False + 3 + + False True + 4 2 -- cgit v1.2.3