[shotwell] in adjust time dialog, set timeformat before setting the time. fixes bug #718944



commit ebe6722e30a2bd7bd876e3440443af380d93776e
Author: Wolfgang Steitz <wsteitz gmail com>
Date:   Mon Mar 9 21:01:03 2015 +0100

    in adjust time dialog, set timeformat before setting the time. fixes bug #718944

 src/Dialogs.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dialogs.vala b/src/Dialogs.vala
index eee7e7a..d760e73 100644
--- a/src/Dialogs.vala
+++ b/src/Dialogs.vala
@@ -1785,8 +1785,8 @@ public class AdjustDateTimeDialog : Gtk.Dialog {
         calendar.select_day(time.day);
 
         if (Config.Facade.get_instance().get_use_24_hour_time()) {
-            hour.set_value(time.hour);
             system.set_active(TimeSystem.24HR);
+            hour.set_value(time.hour);
         } else {
             int AMPM_hour = time.hour % 12;
             hour.set_value((AMPM_hour == 0) ? 12 : AMPM_hour);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]