aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-03-15 03:02:43 +0800
committerChristian Persch <chpe@src.gnome.org>2005-03-15 03:02:43 +0800
commit2b5799813701480300b112b12ab89dcac8ae237f (patch)
tree641345643dba3726fab955128730f21e1aa42ce7
parent0b624873bea03ff3116318471312c6321cda62af (diff)
downloadgsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar.gz
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar.bz2
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar.lz
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar.xz
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.tar.zst
gsoc2013-epiphany-2b5799813701480300b112b12ab89dcac8ae237f.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.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-notebook.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e6f655a6c..330612445 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2005-03-14 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-tabs-menu.c: (tab_added_cb):
Use connect_object, to guard against "title" signal emitted
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);