mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Send a notification when a GtkEntry icon's tooltip text changes
This commit is contained in:
parent
872097603f
commit
77c0f9d8e6
@ -8807,6 +8807,9 @@ gtk_entry_set_icon_tooltip_text (GtkEntry *entry,
|
|||||||
icon_info->tooltip = tooltip ? g_markup_escape_text (tooltip, -1) : NULL;
|
icon_info->tooltip = tooltip ? g_markup_escape_text (tooltip, -1) : NULL;
|
||||||
|
|
||||||
ensure_has_tooltip (entry);
|
ensure_has_tooltip (entry);
|
||||||
|
|
||||||
|
g_object_notify (G_OBJECT (entry),
|
||||||
|
icon_pos == GTK_ENTRY_ICON_PRIMARY ? "primary-icon-tooltip-text" : "secondary-icon-tooltip-text");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user