[gthumb] fixed property view not displaying correctly after switchin back to browser mode



commit 64c189dcd324414f0ad770c6a707bb8010005f47
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Nov 2 20:04:04 2011 +0100

    fixed property view not displaying correctly after switchin back to browser mode

 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 6cfc80b..bf0e60b 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2385,6 +2385,7 @@ _gth_browser_real_set_current_page (GthWindow *window,
 
 	/* move the sidebar from the browser to the viewer and vice-versa */
 
+	gtk_widget_unrealize (browser->priv->file_properties);
 	if (page == GTH_BROWSER_PAGE_BROWSER)
 		gtk_widget_reparent (browser->priv->file_properties, browser->priv->browser_sidebar);
 	else



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