Commit Graph
19 Commits
Author SHA1 Message Date
Anwar Sadath 14dc32891b edit-dialog: Respecting GNOME's 12/24 hour format
The edit dialog time picker didnt take into account GNOME's hour format.

The edit dialog time picker didnt take into account GNOME's hour format because the desktop settings clock-format from gcal-window was not passed to gcal-edit-dialog.

Now the data is passed through the function gcal_edit_dialog_time_format and everything works as required.

https://bugzilla.gnome.org/show_bug.cgi?id=703321
2016-03-14 17:40:22 -03:00
Georges Basile Stavracas Neto 34ff93ce3f time-selector: use GDateTime
Pretty much like the previous commit, but porting the
GcalTimeSelector class.
2016-02-14 12:17:37 -02:00
Georges Basile Stavracas Neto ca327e2ce5 time-selector: turn into a final class 2016-01-19 21:12:19 -02:00
Erick Pérez Castellanos 0b2367200b copyright: update year 2015-01-20 13:11:58 -05:00
Georges Basile Stavracas Neto b635ac7112 time-selector: fix wrong time order for RTL languages
Fix bug #741921.
2015-01-03 16:00:37 -02:00
Georges Basile Stavracas Neto c10ba6b228 time-selector: don't access dconf multiple times for the same key
Instead of accessing 3 times the same key, use the cached version and save up some time.
2015-01-03 15:31:05 -02:00
Georges Basile Stavracas Neto fa014972bc time-selector: make it GtkMenuButton descendant
With it, it is up to Gtk+ to handle the popover.
2015-01-03 15:11:20 -02:00
Erick Pérez Castellanos 4eabc0223b build: remove unneeded code
GObject type system zeroing instance private data, so initialization to
NULL and FALSE is not needed.
Misc code styles fixes.
2014-12-22 21:52:35 -05:00
Georges Basile Stavracas Neto a2a2a9c8d5 time-selector: removed unneeded code 2014-12-18 09:55:11 -05:00
Georges Basile Stavracas Neto 7f1277062e time-selector: send GcalTimeSelector::modified signal when date changes 2014-12-18 09:55:11 -05:00
Georges Basile Stavracas Neto 1c76779143 time-selector: update label when hour or minute changes 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto 78140e7b79 time-selector: always show the popover at the bottom 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto ff15bd3a05 time-selector: format time label when the day period changes
Also, factor out date formatting code.
2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto ee62cdab92 time-selector: format hour according to the 12/24h setting 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto de04c78cc0 time-selector: limit to 11 hours when using 12h format 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto 37a38b6acb time-select: hide period selector when not 12h format 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto c6ada8c356 time-selector: ref builder objects before destroying it
Fixes the annoying bug
2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto 9372b3ff3f time-selector: removed unused var 2014-12-18 09:55:09 -05:00
Georges Basile Stavracas Neto 33d101062d time-selector: implemented time selection with spin buttons 2014-12-18 09:55:09 -05:00