[gnome-initial-setup] timezone: The page is only done when the user has entered a timezone
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] timezone: The page is only done when the user has entered a timezone
- Date: Fri, 1 Nov 2013 16:29:51 +0000 (UTC)
commit bf45434a2626723c4d0f90468ec42e825fef415e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Nov 1 02:07:15 2013 -0400
timezone: The page is only done when the user has entered a timezone
.../pages/timezone/gis-timezone-page.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/timezone/gis-timezone-page.c
b/gnome-initial-setup/pages/timezone/gis-timezone-page.c
index 129f092..749e8aa 100644
--- a/gnome-initial-setup/pages/timezone/gis-timezone-page.c
+++ b/gnome-initial-setup/pages/timezone/gis-timezone-page.c
@@ -109,6 +109,7 @@ set_location (GisTimezonePage *page,
cc_timezone_map_set_location (CC_TIMEZONE_MAP (priv->map), location);
gtk_widget_set_visible (priv->search_overlay, (location == NULL));
+ gis_page_set_complete (GIS_PAGE (page), (location != NULL));
if (location)
{
@@ -326,8 +327,6 @@ gis_timezone_page_constructed (GObject *object)
g_signal_connect (priv->search_button, "toggled",
G_CALLBACK (search_button_toggled), page);
- gis_page_set_complete (GIS_PAGE (page), TRUE);
-
gtk_widget_show (GTK_WIDGET (page));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]