[Xfce4-commits] <midori:master> Ellipsize long panel titles to keep the buttons visible
Christian Dywan
noreply at xfce.org
Sun Nov 8 15:04:09 CET 2009
Updating branch refs/heads/master
to f980d5ad91eee45649fec36a66ac49519e51bb15 (commit)
from 1954b8a00c19a167a63be4255750186351849dae (commit)
commit f980d5ad91eee45649fec36a66ac49519e51bb15
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Nov 8 14:35:12 2009 +0100
Ellipsize long panel titles to keep the buttons visible
midori/midori-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-panel.c b/midori/midori-panel.c
index 420aa78..9f0447a 100644
--- a/midori/midori-panel.c
+++ b/midori/midori-panel.c
@@ -403,6 +403,7 @@ midori_panel_init (MidoriPanel* panel)
toolitem = gtk_tool_item_new ();
gtk_tool_item_set_expand (toolitem, TRUE);
panel->toolbar_label = gtk_label_new (NULL);
+ gtk_label_set_ellipsize (GTK_LABEL (panel->toolbar_label), PANGO_ELLIPSIZE_END);
gtk_misc_set_alignment (GTK_MISC (panel->toolbar_label), 0, 0.5);
gtk_container_add (GTK_CONTAINER (toolitem), panel->toolbar_label);
gtk_container_set_border_width (GTK_CONTAINER (toolitem), 6);
More information about the Xfce4-commits
mailing list