[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix 'Menubar starts shown when set to hidden in properties'

noreply at xfce.org noreply at xfce.org
Sun Sep 22 02:26:21 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit c54e6edf0b6247bdeddb23f419d4d5a2040d05b8
Author: Igor <f2404 at yandex.ru>
Date:   Sat Sep 21 20:25:44 2019 -0400

    Fix 'Menubar starts shown when set to hidden in properties'
    
    Fixes bug #15979
---
 terminal/terminal-window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 0dc04d5..8218ed4 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -578,6 +578,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 G_GNUC_END_IGNORE_DEPRECATIONS
   gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->priv->menubar, FALSE, FALSE, 0);
   gtk_box_reorder_child (GTK_BOX (window->priv->vbox), window->priv->menubar, 0);
+  /* don't show menubar by default */
+  gtk_widget_hide (window->priv->menubar);
   /* auto-hide menubar if it was shown temporarily */
   g_signal_connect (G_OBJECT (window->priv->menubar), "deactivate",
       G_CALLBACK (terminal_window_menubar_deactivate), window);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list