[gthumb] show the content only after calling the set_current_page function



commit a2e145a569e433e4f01ff405f0316ea8b88a718a
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Nov 15 16:03:26 2011 +0100

    show the content only after calling the set_current_page function

 gthumb/gth-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
index bfb31b7..6ae91d7 100644
--- a/gthumb/gth-window.c
+++ b/gthumb/gth-window.c
@@ -99,7 +99,7 @@ gth_window_set_n_pages (GthWindow *self,
 		gtk_box_pack_start (GTK_BOX (page), self->priv->toolbars[i], FALSE, FALSE, 0);
 
 		self->priv->contents[i] = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
-		gtk_widget_show (self->priv->contents[i]);
+		gtk_widget_hide (self->priv->contents[i]);
 		gtk_box_pack_start (GTK_BOX (page), self->priv->contents[i], TRUE, TRUE, 0);
 	}
 



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