diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-07-31 17:38:27 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-07-31 17:38:27 +0000 |
commit | b11262594c1e6c166f793c32b8f575098f2cc5c7 (patch) | |
tree | 636c4e739af5107abed6c51c86805f8ed46ef17a /gtk/gtktooltip.c | |
parent | bed2f0e38c198e38d9a55d7d81cb7038a2d525a7 (diff) | |
download | gtk+-b11262594c1e6c166f793c32b8f575098f2cc5c7.tar.gz |
Make the label wrap, for compatibility with the old tooltips code. This
2007-07-31 Matthias Clasen <mclasen@redhat.com>
* 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
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |