[Xfce4-commits] [apps/xfce4-terminal] 01/01: Expand the tab titles to fill the entire window width

noreply at xfce.org noreply at xfce.org
Mon Jun 6 21:17:51 CEST 2016


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

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

commit 50784ac6bdfcbde51633ed42f979bcb89d5c3841
Author: Igor <f2404 at yandex.ru>
Date:   Sat Jun 4 12:26:48 2016 +0300

    Expand the tab titles to fill the entire window width
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
 terminal/terminal-window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index ff42d7a..cd9788d 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1860,6 +1860,8 @@ terminal_window_add (TerminalWindow *window,
   page = gtk_notebook_append_page (GTK_NOTEBOOK (window->notebook), GTK_WIDGET (screen), label);
   // TODO: should not be used anymore according to Gtk docs, remove if sure
   //gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (window->notebook), GTK_WIDGET (screen), TRUE, TRUE, GTK_PACK_START);
+  gtk_container_child_set (GTK_CONTAINER (window->notebook), GTK_WIDGET (screen), "tab-expand", TRUE, NULL);
+  gtk_container_child_set (GTK_CONTAINER (window->notebook), GTK_WIDGET (screen), "tab-fill", TRUE, NULL);
 
   /* allow tab sorting and dnd */
   gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (window->notebook), GTK_WIDGET (screen), TRUE);

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


More information about the Xfce4-commits mailing list