mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
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
This commit is contained in:
parent
bed2f0e38c
commit
b11262594c
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2007-07-30 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user