[evolution] I#598 - EShellSwitcher: Runtime warnings about negative content height



commit 360ca9fcd0048cffcf5799363eff2315590e167c
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 18 17:38:51 2020 +0100

    I#598 - EShellSwitcher: Runtime warnings about negative content height
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/598

 src/shell/e-shell-switcher.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/shell/e-shell-switcher.c b/src/shell/e-shell-switcher.c
index 9f0c8eb40a..28b1158c0e 100644
--- a/src/shell/e-shell-switcher.c
+++ b/src/shell/e-shell-switcher.c
@@ -693,6 +693,8 @@ e_shell_switcher_add_action (EShellSwitcher *switcher,
                        G_CALLBACK (tool_item_button_cb),
                        new_window_action);
 
+       gtk_widget_set_visible (widget, switcher->priv->toolbar_visible);
+
        switcher->priv->proxies = g_list_append (
                switcher->priv->proxies, widget);
 


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