From f980d5ad91eee45649fec36a66ac49519e51bb15 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 8 Nov 2009 14:35:12 +0100 Subject: [PATCH] Ellipsize long panel titles to keep the buttons visible --- midori/midori-panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/midori/midori-panel.c b/midori/midori-panel.c index 420aa789..9f0447ab 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); -- 2.39.5