After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701169 - Add ability to re-arrange / sort clocks according to timezones
Add ability to re-arrange / sort clocks according to timezones
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-29 04:27 UTC by Yanko Kaneti
Modified: 2014-07-27 08:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to sort locations by timezone. (3.03 KB, patch)
2014-07-23 17:29 UTC, Mike Gorse
none Details | Review

Description Yanko Kaneti 2013-05-29 04:27:19 UTC
From downstream redhat bug https://bugzilla.redhat.com/show_bug.cgi?id=967868
"The clocks added to gnome-clocks are displayed in the order in which they are added.  The ability to sort them by increasing times (i.e. showing cities in west->east order) is helpful, as was available in gnome 2.x."
Comment 1 Allan Day 2013-05-29 17:04:58 UTC
Maybe it would make sense just to make this the default sort order.
Comment 2 Yanko Kaneti 2013-05-29 17:31:17 UTC
IMHO it should allow just drag and drop reordering (or whatever the touch equivalent of that is called) without anything "sort" in the UI.
Comment 3 Allan Day 2013-05-29 18:05:21 UTC
(In reply to comment #2)
> IMHO it should allow just drag and drop reordering (or whatever the touch
> equivalent of that is called) without anything "sort" in the UI.

Why?
Comment 4 Mike Gorse 2014-07-23 17:29:17 UTC
Created attachment 281496 [details] [review]
Proposed patch to sort locations by timezone.

We decided that we wanted this for SLED, so I made this patch.
Comment 5 Paolo Borelli 2014-07-27 08:53:50 UTC
I reworked Mike's patch to not expose GtkTreeView to the caller (so that it will be easier to try to replace the implementation with GtkFlowBox) and pushed the patch.


Allan: try it out and let me know if you like the sorting activated by default.