mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over
2008-09-29 Kristian Rietveld <kris@imendio.com> Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over widget * gtk/gtkwidget.c (gtk_widget_set_property): after updating tooltip text or markup, call gtk_widget_trigger_tooltip_query() so that existing visible tooltips are updated. svn path=/trunk/; revision=21544
This commit is contained in:
parent
41edcd30f6
commit
978e780018
@ -1,3 +1,12 @@
|
||||
2008-09-29 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
|
||||
over widget
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_set_property): after updating
|
||||
tooltip text or markup, call gtk_widget_trigger_tooltip_query()
|
||||
so that existing visible tooltips are updated.
|
||||
|
||||
2008-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 371908 – Password Entry broken
|
||||
|
@ -2494,6 +2494,7 @@ gtk_widget_set_property (GObject *object,
|
||||
|
||||
tmp = (tooltip_window != NULL || tooltip_markup != NULL);
|
||||
gtk_widget_real_set_has_tooltip (widget, tmp, FALSE);
|
||||
gtk_widget_trigger_tooltip_query (widget);
|
||||
break;
|
||||
case PROP_TOOLTIP_TEXT:
|
||||
tooltip_window = g_object_get_qdata (object, quark_tooltip_window);
|
||||
@ -2513,6 +2514,7 @@ gtk_widget_set_property (GObject *object,
|
||||
|
||||
tmp = (tooltip_window != NULL || tooltip_markup != NULL);
|
||||
gtk_widget_real_set_has_tooltip (widget, tmp, FALSE);
|
||||
gtk_widget_trigger_tooltip_query (widget);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user