[gthumb] save the properties visibility when hiding the sidebar



commit d3420d2b6b92280eab79a0005f4f1d7a9c30a5cf
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Sep 19 13:34:18 2012 +0200

    save the properties visibility when hiding the sidebar

 gthumb/gth-browser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 8b6cba5..5f0a956 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -5949,6 +5949,7 @@ gth_browser_hide_sidebar (GthBrowser *browser)
 {
 	switch (gth_window_get_current_page (GTH_WINDOW (browser))) {
 	case GTH_BROWSER_PAGE_BROWSER:
+		g_settings_set_boolean (browser->priv->browser_settings, PREF_BROWSER_PROPERTIES_VISIBLE, FALSE);
 		_gth_browser_set_action_active (browser, "Browser_Properties", FALSE);
 		gtk_widget_hide (browser->priv->file_properties);
 		break;



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