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:
committed by
Alexandre Deckner
parent
8a48f074d8
commit
3a3173e8cb
@@ -459,6 +459,11 @@ TabContainerView::_MouseMoved(BPoint where, uint32 _transit,
|
|||||||
fLastMouseEventTab = tab;
|
fLastMouseEventTab = tab;
|
||||||
if (fLastMouseEventTab)
|
if (fLastMouseEventTab)
|
||||||
fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, dragMessage);
|
fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, dragMessage);
|
||||||
|
else {
|
||||||
|
SetToolTip(static_cast<BToolTip*>(NULL));
|
||||||
|
HideToolTip();
|
||||||
|
SetToolTip("Double-click or middle-click to open new tab.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user