[gthumb/gthumb-3-10: 3/6] browser: ignore the statubar visibility changes when in fullscreen



commit 91e1b080cee39ed776eb90a123455649c4bc9e5e
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Jul 13 12:28:46 2020 +0200

    browser: ignore the statubar visibility changes when in fullscreen

 gthumb/gth-browser.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 69f9b599..875cf7c2 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3958,6 +3958,9 @@ _gth_browser_set_statusbar_visibility (GthBrowser *browser,
        g_return_if_fail (browser != NULL);
 
        gth_window_change_action_state (GTH_WINDOW (browser), "show-statusbar", visible);
+       if (browser->priv->fullscreen)
+               return;
+
        if (visible)
                gtk_widget_show (browser->priv->statusbar);
        else


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