mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE overlay SYSTEM "chrome://global/locale/updateNotification.dtd" >
|
|
|
|
<overlay id="updateNotificationMenuID"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
function ShowUpdateFromResource( node )
|
|
{
|
|
var url = node.getAttribute('updateURL');
|
|
dump (url + '\n' );
|
|
//window.open( url );
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
<menupopup id="taskPopup">
|
|
<menu label="&updateNotification.label;" datasources="rdf:xpinstall-update-notifier" ref="http://home.netscape.com/NC-rdf#SoftwareNotificationRoot">
|
|
<template>
|
|
<rule>
|
|
<menupopup>
|
|
<menuitem uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#name" updateURL="rdf:http://home.netscape.com/NC-rdf#url" oncommand="ShowUpdateFromResource( event.target )"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
</menu>
|
|
<menuseparator/>
|
|
</menupopup>
|
|
|
|
</overlay>
|