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



commit d9c2b738331e2bed9a95d66f70ade9f23972adab
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Jun 25 00:31:12 2010 +0200

    do not change the thumbnails pane visibility after changing the layout

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



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