[Xfce4-commits] [apps/xfce4-terminal] 01/01: Respect Display window borders setting in drop-down mode
noreply at xfce.org
noreply at xfce.org
Tue Jul 5 19:50:30 CEST 2016
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 ac2f348267236e1ba6914c94e6289bdfb52f4355
Author: Igor <f2404 at yandex.ru>
Date: Tue Jul 5 20:49:34 2016 +0300
Respect Display window borders setting in drop-down mode
Fixes #10297
---
terminal/terminal-window-dropdown.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 89f2ba6..224a7eb 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -221,6 +221,7 @@ terminal_window_dropdown_init (TerminalWindowDropdown *dropdown)
guint n;
const gchar *name;
gboolean keep_open;
+ gboolean show_borders;
GtkWidget *child;
dropdown->rel_width = 0.80;
@@ -255,7 +256,8 @@ terminal_window_dropdown_init (TerminalWindowDropdown *dropdown)
/* adjust notebook for drop-down usage */
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->notebook), GTK_POS_BOTTOM);
- gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), TRUE);
+ g_object_get (G_OBJECT (window->preferences), "misc-borders-default", &show_borders, NULL);
+ gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), show_borders);
terminal_window_notebook_show_tabs (window);
/* actions we don't want */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list