diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-15 03:02:26 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-15 03:02:26 +0800 |
commit | d6cb8bad560c066d05a7806aba23f550a78852cf (patch) | |
tree | f9f1be43bb612445821a81745d2b946cc1fb7959 /src/ephy-notebook.c | |
parent | dc8537f6861721d37f9bafb3f335ba864ab2f854 (diff) | |
download | gsoc2013-epiphany-d6cb8bad560c066d05a7806aba23f550a78852cf.tar.gz gsoc2013-epiphany-d6cb8bad560c066d05a7806aba23f550a78852cf.tar.zst gsoc2013-epiphany-d6cb8bad560c066d05a7806aba23f550a78852cf.zip |
Set the tab label to single-line mode. Fixes bug #167657.
2005-03-14 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-notebook.c: (build_tab_label):
Set the tab label to single-line mode. Fixes bug #167657.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 807e374ba..02bf907f6 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -908,6 +908,7 @@ build_tab_label (EphyNotebook *nb, EphyTab *tab) /* setup label */ label = gtk_label_new (""); gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END); + gtk_label_set_single_line_mode (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_misc_set_padding (GTK_MISC (label), 0, 0); gtk_box_pack_start (GTK_BOX (label_hbox), label, TRUE, TRUE, 0); |