Changeset 28000 in webkit
- Timestamp:
- Nov 24, 2007 1:52:31 PM (16 years ago)
- Location:
- trunk/WebKit/gtk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/gtk/ChangeLog
r27991 r28000 1 2007-11-24 Christian Dywan <christian@twotoasts.de> 2 3 Reviewed by Alp Toker. 4 5 http://bugs.webkit.org/show_bug.cgi?id=15793 6 [GTK] Webkit doesn't show title attribute tooltip when hovering over an image 7 8 Implement tooltip support using the new Tooltip API. 9 10 Support for older versions of GTK+ is still lacking. 11 12 * WebCoreSupport/ChromeClientGtk.cpp: 13 (WebKit::ChromeClient::setToolTip): 14 1 15 2007-11-22 Alp Toker <alp@atoker.com> 2 16 -
trunk/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
r27977 r28000 284 284 } 285 285 286 void ChromeClient::setToolTip(const String&) 287 { 288 notImplemented(); 286 void ChromeClient::setToolTip(const String& toolTip) 287 { 288 #if GTK_CHECK_VERSION(2,12,0) 289 if (toolTip.isEmpty()) 290 g_object_set(G_OBJECT(m_webPage), "has-tooltip", FALSE, NULL); 291 else 292 gtk_widget_set_tooltip_text(GTK_WIDGET(m_webPage), toolTip.utf8().data()); 293 #else 294 // TODO: Support older GTK+ versions 295 // See http://bugs.webkit.org/show_bug.cgi?id=15793 296 notImplemented(); 297 #endif 289 298 } 290 299
Note: See TracChangeset
for help on using the changeset viewer.