Also sync on creating the datetime formatter. This way we don't lose a
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 2 Jun 2009 14:11:48 +0000 (16:11 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 2 Jun 2009 14:11:48 +0000 (16:11 +0200)
time format change between app startup and first call to formatter.

src/modest-datetime-formatter.c

index dfd510e..69665e0 100644 (file)
@@ -203,6 +203,7 @@ init_format (ModestDatetimeFormatter *obj)
        osso_time_set_notification_cb (modest_platform_get_osso_context (),
                                       time_changed_cb,
                                       obj);
+       time_get_synced ();
 #endif
 
 }