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 21:20:23 +00:00
Родитель 4b48bcc3b7
Коммит 60a3b3c2b8
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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.