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

f2404 pushed a 
commit to branch 
master
in repository apps/xfce4-terminal.

commit e76ed22dc3d394c2404576871efefcd87e0a6f35
Author: Igor <f2...@yandex.ru>
Date:   Sun Apr 29 16:55:17 2018 -0400

    Fix new tab being one pixel short under some GTK themes
    
    E.g. Greybird. This led to changing the window geometry and losing a row.
    Fixes bug #13263
---
 terminal/terminal-window.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index ec1bfc1..f57ad0d 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -2631,6 +2631,9 @@ terminal_window_add (TerminalWindow *window,
   terminal_return_if_fail (TERMINAL_IS_WINDOW (window));
   terminal_return_if_fail (TERMINAL_IS_SCREEN (screen));
 
+  /* show the terminal screen first: see bug #13263*/
+  gtk_widget_show (GTK_WIDGET (screen));
+
   /* create the tab label */
   label = terminal_screen_get_tab_label (screen);
 
@@ -2655,10 +2658,6 @@ terminal_window_add (TerminalWindow *window,
   if (window->priv->font || window->priv->zoom != TERMINAL_ZOOM_LEVEL_DEFAULT)
     terminal_screen_update_font (screen);
 
-  /* show the terminal screen */
-  gtk_widget_realize (GTK_WIDGET (screen));
-  gtk_widget_show (GTK_WIDGET (screen));
-
   /* switch to the new tab */
   gtk_notebook_set_current_page (GTK_NOTEBOOK (window->priv->notebook), page);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to