Bug 213163 - show bookmark URL over mouseover of bookmark toolbar item in status bar. patch from Michael Schonfeld <dev@schonfeld.org>, r=me, a=schrep.

This commit is contained in:
mozilla.mano@sent.com 2008-02-06 13:20:23 -08:00
parent 6fb7f1c744
commit 0363f81dc2

View File

@ -1034,6 +1034,15 @@
</implementation>
<handlers>
<handler event="mouseover"><![CDATA[
var button = event.target;
if (button.parentNode == this && button.node &&
PlacesUtils.nodeIsURI(button.node))
window.XULBrowserWindow.setOverLink(event.target.node.uri, null);
]]></handler>
<handler event="mouseout"><![CDATA[
window.XULBrowserWindow.setOverLink("", null);
]]></handler>
<handler event="mousedown"><![CDATA[
// When the user clicks down on a button, set it as the selection and
// tell the controller that we are the active view.