GNOME Bugzilla – Bug 557316
GtkLinkButton should consider user-defined tooltip
Last modified: 2008-10-30 09:26:19 UTC
Since 2.14, GtkLinkButton shows its own tooltip, which is the URI. It just ignores any tooltip defined by the user. Ideally, it should check for :tooltip-text/:tooltip-markup and show them if they exist. If not, it does what it's doing right now: use the URI as tooltip.
Created attachment 121591 [details] [review] Only override the tooltip if not previously set This patch does exactly as proposed, it checks if tooltip text or markup is set on the widget before attempting to override the tooltip text and only does so if neither is set.
thanks Christian, you beat me to it. :-) since the current 2.14 approach causes a regression (tooltips set in 2.12 are discarded in 2.14) let's commit it to trunk and gtk-2-14.
Looks ok to me.
2008-10-30 Christian Dywan <christian@imendio.com> Bug 557316 – GtkLinkButton should consider user-defined tooltip * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb): Only override the tooltip if not previously set Committed to trunk and gtk-2-14.