[gthumb] properties pane disappears when changing position in viewer mode
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] properties pane disappears when changing position in viewer mode
- Date: Wed, 15 Jan 2020 08:52:55 +0000 (UTC)
commit 490d797beb76da06341cab5048440b3b4d355a92
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Jan 15 09:45:59 2020 +0100
properties pane disappears when changing position in viewer mode
Fixes https://gitlab.gnome.org/GNOME/gthumb/issues/79
gthumb/gth-browser.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index f9399cec..876119e5 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3867,6 +3867,9 @@ pref_browser_properties_on_the_right_changed (GSettings *settings,
if (old_parent == new_parent)
return;
+ if (gth_window_get_current_page (GTH_WINDOW (browser)) != GTH_BROWSER_PAGE_BROWSER)
+ return;
+
gtk_widget_unrealize (browser->priv->file_properties);
_gtk_widget_reparent (browser->priv->file_properties, new_parent);
/* restore the child properties that gtk_widget_reparent doesn't preserve. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]