[gnome-initial-setup/shell/4765: 16/362] location: use DEFAULT_TZ when default timezone is empty



commit a8ee42733f5dd41290b7cc9fe674a85b6e32379b
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Fri Apr 18 12:26:20 2014 -0700

    location: use DEFAULT_TZ when default timezone is empty

 .../pages/location/gis-location-page.c             |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/location/gis-location-page.c 
b/gnome-initial-setup/pages/location/gis-location-page.c
index 9876469..4c26aef 100644
--- a/gnome-initial-setup/pages/location/gis-location-page.c
+++ b/gnome-initial-setup/pages/location/gis-location-page.c
@@ -647,7 +647,7 @@ gis_location_page_constructed (GObject *object)
     GisDriver *driver = GIS_PAGE (page)->driver;
     const gchar *default_timezone = gis_driver_get_default_timezone (driver);
 
-    if (default_timezone == NULL) {
+    if (default_timezone == NULL || default_timezone[0] == '\0') {
       default_timezone = DEFAULT_TZ;
     }
 


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