[gthumb] do not change the thumbnails pane visibility after changing the layout



commit ccf8ca4a459a6de4f5632c94b40c61d1f131a25f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Jun 25 00:34:13 2010 +0200

    do not change the thumbnails pane visibility after changing the layout
    
    really this time

 gthumb/gth-browser.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 8743df0..7004352 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3368,11 +3368,10 @@ pref_ui_viewer_thumbnails_orient_changed (GConfClient *client,
 
 	gth_window_attach_content (GTH_WINDOW (browser), GTH_BROWSER_PAGE_VIEWER, browser->priv->viewer_thumbnails_pane);
 
-	gtk_widget_show (browser->priv->thumbnail_list);
-	gtk_widget_show (browser->priv->viewer_sidebar_pane);
-
 	if (_gth_browser_get_action_active (browser, "View_Thumbnail_List"))
-		gtk_widget_show (browser->priv->viewer_thumbnails_pane);
+		gtk_widget_show (browser->priv->thumbnail_list);
+	gtk_widget_show (browser->priv->viewer_sidebar_pane);
+	gtk_widget_show (browser->priv->viewer_thumbnails_pane);
 }
 
 



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