[Xfce4-commits] [apps/xfce4-terminal] 01/02: Fix setting a font via the command line

noreply at xfce.org noreply at xfce.org
Thu Aug 22 18:16:11 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 8edfe5792a0a1e5b58ea7456136e3cb662ff7d91
Author: Igor <f2404 at yandex.ru>
Date:   Thu Aug 22 12:13:49 2019 -0400

    Fix setting a font via the command line
    
    Which got broken as a result of commit d6ffd7.
    The two commits together fix bug 15869.
---
 terminal/terminal-window.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index d6c22ff..9743838 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1250,16 +1250,16 @@ terminal_window_notebook_page_added (GtkNotebook    *notebook,
   /* release to the grid size applies */
   gtk_widget_realize (GTK_WIDGET (screen));
 
+  /* match zoom and font */
+  if (window->priv->font || window->priv->zoom != TERMINAL_ZOOM_LEVEL_DEFAULT)
+    terminal_screen_update_font (screen);
+
   if (G_LIKELY (window->priv->active != NULL))
     {
       /* match the size of the active screen */
       terminal_screen_get_size (window->priv->active, &w, &h);
       terminal_screen_set_size (screen, w, h);
 
-      /* match the zoom */
-      if (window->priv->font || window->priv->zoom != TERMINAL_ZOOM_LEVEL_DEFAULT)
-        terminal_screen_update_font (screen);
-
       /* show the tabs when needed */
       terminal_window_notebook_show_tabs (window);
     }

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


More information about the Xfce4-commits mailing list