[gnome-initial-setup] Explicitly show pages to show them
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Explicitly show pages to show them
- Date: Wed, 14 Nov 2012 18:15:01 +0000 (UTC)
commit 69721f93176d2857260748e7622679f92ea52ea6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Nov 14 12:05:08 2012 -0500
Explicitly show pages to show them
We'll eventually mark pages as hidden as a way to skip them during the
setup, so show them explicitly to signify the pages want to be shown.
gnome-initial-setup/gis-assistant-clutter.c | 2 --
gnome-initial-setup/gis-assistant-gtk.c | 2 --
.../pages/account/gis-account-page.c | 2 ++
gnome-initial-setup/pages/eulas/gis-eula-pages.c | 2 ++
gnome-initial-setup/pages/goa/gis-goa-page.c | 2 ++
.../pages/language/gis-language-page.c | 2 ++
.../pages/location/gis-location-page.c | 2 ++
.../pages/network/gis-network-page.c | 2 ++
.../pages/summary/gis-summary-page.c | 2 ++
9 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/gnome-initial-setup/gis-assistant-clutter.c b/gnome-initial-setup/gis-assistant-clutter.c
index c954634..ad7e0c2 100644
--- a/gnome-initial-setup/gis-assistant-clutter.c
+++ b/gnome-initial-setup/gis-assistant-clutter.c
@@ -62,8 +62,6 @@ gis_assistant_clutter_add_page (GisAssistant *assistant,
{
GisAssistantClutterPrivate *priv = GIS_ASSISTANT_CLUTTER (assistant)->priv;
cc_notebook_add_page (CC_NOTEBOOK (priv->notebook), GTK_WIDGET (page));
-
- gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/gis-assistant-gtk.c b/gnome-initial-setup/gis-assistant-gtk.c
index 0d6025d..2d9af59 100644
--- a/gnome-initial-setup/gis-assistant-gtk.c
+++ b/gnome-initial-setup/gis-assistant-gtk.c
@@ -65,8 +65,6 @@ gis_assistant_gtk_add_page (GisAssistant *assistant,
GisAssistantGtkPrivate *priv = GIS_ASSISTANT_GTK (assistant)->priv;
gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook),
GTK_WIDGET (page), NULL);
-
- gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c b/gnome-initial-setup/pages/account/gis-account-page.c
index 2dd5d12..1933028 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -1056,6 +1056,8 @@ gis_account_page_constructed (GObject *object)
set_mode (page, UM_LOCAL);
gis_page_set_title (GIS_PAGE (page), _("Login"));
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/eulas/gis-eula-pages.c b/gnome-initial-setup/pages/eulas/gis-eula-pages.c
index 650735d..bfc6ffa 100644
--- a/gnome-initial-setup/pages/eulas/gis-eula-pages.c
+++ b/gnome-initial-setup/pages/eulas/gis-eula-pages.c
@@ -283,6 +283,8 @@ gis_eula_page_constructed (GObject *object)
gis_page_set_title (GIS_PAGE (page), _("License Agreements"));
sync_page_complete (page);
+
+ gtk_widget_show (GTK_WIDGET (page));
}
diff --git a/gnome-initial-setup/pages/goa/gis-goa-page.c b/gnome-initial-setup/pages/goa/gis-goa-page.c
index 2f9e9c9..27f7842 100644
--- a/gnome-initial-setup/pages/goa/gis-goa-page.c
+++ b/gnome-initial-setup/pages/goa/gis-goa-page.c
@@ -327,6 +327,8 @@ gis_goa_page_constructed (GObject *object)
gis_page_set_title (GIS_PAGE (page), _("Online Accounts"));
gis_page_set_complete (GIS_PAGE (page), TRUE);
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/language/gis-language-page.c b/gnome-initial-setup/pages/language/gis-language-page.c
index 1818f0f..7813cef 100644
--- a/gnome-initial-setup/pages/language/gis-language-page.c
+++ b/gnome-initial-setup/pages/language/gis-language-page.c
@@ -308,6 +308,8 @@ gis_language_page_constructed (GObject *object)
gis_page_set_complete (GIS_PAGE (page), TRUE);
gis_page_set_use_arrow_buttons (GIS_PAGE (page), TRUE);
gis_page_set_title (GIS_PAGE (page), _("Welcome"));
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/location/gis-location-page.c b/gnome-initial-setup/pages/location/gis-location-page.c
index b66069a..cf69d83 100644
--- a/gnome-initial-setup/pages/location/gis-location-page.c
+++ b/gnome-initial-setup/pages/location/gis-location-page.c
@@ -338,6 +338,8 @@ gis_location_page_constructed (GObject *object)
gis_page_set_title (GIS_PAGE (page), _("Location"));
gis_page_set_complete (GIS_PAGE (page), TRUE);
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/network/gis-network-page.c b/gnome-initial-setup/pages/network/gis-network-page.c
index acae439..e8a8d3d 100644
--- a/gnome-initial-setup/pages/network/gis-network-page.c
+++ b/gnome-initial-setup/pages/network/gis-network-page.c
@@ -734,6 +734,8 @@ gis_network_page_constructed (GObject *object)
gis_page_set_title (GIS_PAGE (page), _("Network"));
gis_page_set_complete (GIS_PAGE (page), TRUE);
out: ;
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.c b/gnome-initial-setup/pages/summary/gis-summary-page.c
index 5d31c9a..c504acd 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.c
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.c
@@ -288,6 +288,8 @@ gis_summary_page_constructed (GObject *object)
gis_page_set_title (GIS_PAGE (page), _("Thank You"));
gis_page_set_complete (GIS_PAGE (page), TRUE);
+
+ gtk_widget_show (GTK_WIDGET (page));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]