[Xfce4-commits] [apps/xfce4-terminal] 01/02: First show the terminal and then update its settings
noreply at xfce.org
noreply at xfce.org
Mon Apr 2 21:02:39 CEST 2018
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 2d3634090330fb59cfe334932be85a96c20765a8
Author: Igor <f2404 at yandex.ru>
Date: Mon Apr 2 14:59:44 2018 -0400
First show the terminal and then update its settings
This fixes the scrollbar being shown even if disabled in settings.
Fixes bug #14322
---
terminal/terminal-screen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 492f2bb..b580b5d 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -319,6 +319,9 @@ terminal_screen_init (TerminalScreen *screen)
g_signal_connect (G_OBJECT (screen->preferences), "notify",
G_CALLBACK (terminal_screen_preferences_changed), screen);
+ /* show the terminal */
+ gtk_widget_show_all (screen->hbox);
+
/* apply current settings */
terminal_screen_update_binding_backspace (screen);
terminal_screen_update_binding_delete (screen);
@@ -344,9 +347,6 @@ terminal_screen_init (TerminalScreen *screen)
G_CALLBACK (terminal_screen_vte_window_contents_changed), screen);
g_signal_connect_swapped (G_OBJECT (screen->terminal), "size-allocate",
G_CALLBACK (terminal_screen_vte_window_contents_resized), screen);
-
- /* show the terminal */
- gtk_widget_show_all (screen->hbox);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list