[Xfce4-commits] <xfce4-terminal:master> Set minimum tab label size to 10 chars.
Nick Schermer
noreply at xfce.org
Sun Dec 30 14:10:01 CET 2012
Updating branch refs/heads/master
to 907ff4781dd3676d85f1d6a762eb310ff333d8f0 (commit)
from dad13202000cea688cffbb531d5c1475fa406094 (commit)
commit 907ff4781dd3676d85f1d6a762eb310ff333d8f0
Author: Nick Schermer <nick at xfce.org>
Date: Sun Dec 30 14:02:50 2012 +0100
Set minimum tab label size to 10 chars.
terminal/terminal-screen.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index c21cda7..c164b62 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2145,6 +2145,7 @@ terminal_screen_get_tab_label (TerminalScreen *screen)
screen->tab_label = gtk_label_new (NULL);
gtk_misc_set_padding (GTK_MISC (screen->tab_label), 2, 0);
+ gtk_label_set_width_chars (GTK_LABEL (screen->tab_label), 10);
gtk_box_pack_start (GTK_BOX (hbox), screen->tab_label, TRUE, TRUE, 0);
g_object_bind_property (G_OBJECT (screen), "title",
G_OBJECT (screen->tab_label), "label",
More information about the Xfce4-commits
mailing list