[Webkit-unassigned] [Bug 15793] [GTK] Webkit doesn't show title attribute tooltip when hovering over an image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 23 12:53:22 PST 2007


------- Comment #3 from aroben at apple.com  2007-11-23 12:53 PDT -------
(From update of attachment 17469)
+    if (toolTip.isEmpty())
+        g_object_set(G_OBJECT(m_webPage), "has-tooltip", FALSE, NULL);
+    else
+        gtk_widget_set_tooltip_text(GTK_WIDGET(m_webPage),

Is it a problem that has-tooltip is never set to TRUE?

+    static GtkTooltips* tooltips;
+    if (!tooltips)
+        tooltips = gtk_tooltips_new();

You should be able to do this in one line, since this is C++ code:

static GtkTooltips* tooltips = gtk_tooltips_new();

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list