From b11262594c1e6c166f793c32b8f575098f2cc5c7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 31 Jul 2007 17:38:27 +0000 Subject: Make the label wrap, for compatibility with the old tooltips code. This 2007-07-31 Matthias Clasen * gtk/gtktooltip.c (gtk_tooltip_init): Make the label wrap, for compatibility with the old tooltips code. This fixes absurdly long tooltips in the color selector. svn path=/trunk/; revision=18558 --- gtk/gtktooltip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtktooltip.c') diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 77d465ca90..666ab78689 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -150,6 +150,7 @@ gtk_tooltip_init (GtkTooltip *tooltip) FALSE, FALSE, 0); tooltip->label = gtk_label_new (""); + gtk_label_set_line_wrap (GTK_LABEL (tooltip->label), TRUE); gtk_box_pack_start (GTK_BOX (tooltip->box), tooltip->label, FALSE, FALSE, 0); -- cgit v1.2.1