Set a tool-tip for the area outside of any tabs.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@514 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-05-22 13:50:48 +00:00 committed by Alexandre Deckner
parent 8a48f074d8
commit 3a3173e8cb

View File

@ -459,6 +459,11 @@ TabContainerView::_MouseMoved(BPoint where, uint32 _transit,
fLastMouseEventTab = tab;
if (fLastMouseEventTab)
fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, dragMessage);
else {
SetToolTip(static_cast<BToolTip*>(NULL));
HideToolTip();
SetToolTip("Double-click or middle-click to open new tab.");
}
}
}