From 77c0f9d8e66dd2eb85611d6ed982fc583c3fdb1c Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Sun, 11 Nov 2012 11:01:57 -0600 Subject: [PATCH] Send a notification when a GtkEntry icon's tooltip text changes --- gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 0c637de275..4f020b72a0 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -8807,6 +8807,9 @@ gtk_entry_set_icon_tooltip_text (GtkEntry *entry, icon_info->tooltip = tooltip ? g_markup_escape_text (tooltip, -1) : NULL; ensure_has_tooltip (entry); + + g_object_notify (G_OBJECT (entry), + icon_pos == GTK_ENTRY_ICON_PRIMARY ? "primary-icon-tooltip-text" : "secondary-icon-tooltip-text"); } /**