home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / aim.jar / content / aim / contextMenu.xul < prev    next >
Extensible Markup Language  |  2005-02-26  |  4KB  |  60 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://aim/locale/contextMenu.dtd" >
  4.  
  5. <overlay id="IMcontextMenu" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8. <script language="javascript" src="chrome://aim/content/aimHelpers.js" />
  9. <script language="javascript" src="chrome://aim/content/contextMenu.js" />
  10. <script language="javascript" src="chrome://aim/content/App.js" />
  11. <script language="javascript" src="chrome://aim/content/AimMailBridge.js" />
  12. <script language="javascript" src="chrome://messenger/content/addressbook/abCommon.js"/>
  13.  
  14.  
  15. <popupset id="imContextMenuSet">
  16.     <!-- This is the context menu for the content-area of the IM Buddy List window.-->
  17.     <popup id="context" onpopupshowing="gContextMenu = new nsContextMenu( this );" onpopuphiding="gContextMenu.onDestroy(); gContextMenu = null;">
  18.         <!-- Online Tab ==================================== -->
  19.         <menu id="menu_switchview" label="&viewBuddyList.label;">
  20.             <menupopup>
  21.               <menuitem id="menu_sn" type="radio" label="&viewSN.label;" oncommand="SwitchView('ScreenNameWithStatus')"/>
  22.               <menuitem id="menu_dn" type="radio" label="&viewDN.label;" oncommand="SwitchView('DisplayName')"/>
  23.               <menuitem id="menu_email" type="radio" label="&viewEmail.label;" oncommand="SwitchView('EmailID')"/>
  24.             </menupopup>
  25.           </menu>
  26.         <menuseparator id="gmiseparator" />
  27.         <menuitem id="context-getMemberInfo" label="&getMemberInfo.label;" oncommand="gContextMenu.cmdContextGetMemberInfo();"/>
  28.         <menuitem id="context-sendIM"   label="&sendIMCmd.label;" oncommand="cmdNewIM();"/>
  29.         <menuitem id="context-sendChat" label="&sendChatCmd.label;" oncommand="gContextMenu.cmdContextSendChat();"/>
  30.         <menuseparator id="sendfileseparator"/>
  31.         <menuitem id="context-sendFile" label="&sendFileCmd.label;" oncommand="gContextMenu.cmdContextSendFile();"/>
  32.  
  33.         <menuseparator id="dispNameseparator" />
  34.         <menuitem id="context-editbuddyinfo" label="&editbuddyinfo.label;" oncommand="cmdEditBuddyInfo();"/>
  35.         <!-- <menuitem id="context-editdispname" label="&dispname.label;" oncommand="cmdDispName();" />
  36.         <menuitem id="context-updateemail" label="&updateemail.label;" oncommand="cmdUpdateEmail();"/> -->
  37.  
  38.         <menuseparator id="preemailseperator"/>
  39.         <menuitem id="context-sendemail" label="&sendemail.label;" oncommand="ComposeNewMessage();"/>
  40.         <!-- MERC: SL Feb 26
  41.         <menuitem id="context-checkemail" label="&checkemail.label;" oncommand="cmdCheckEmail();"/>
  42.         -->
  43.         <!-- List Setup Tab ============================== -->
  44.         <menuseparator id="buddyalertseperator"/>
  45.         <menuitem id="context-buddyAlert" label1="&buddyAlertCmd1.label;" label2="&buddyAlertCmd2.label;" accesskey="&buddyAlertCmd.accesskey;" oncommand="gContextMenu.cmdContextBuddyAlert(0);"/>
  46.         <menuitem id="context-editbuddyAlert" label="&editbuddyAlertCmd.label;" accesskey="&editbuddyAlertCmd.accesskey;" oncommand="gContextMenu.cmdContextBuddyAlert(1);"/>
  47.         <menuitem id="context-delbuddyAlert" label1="&delbuddyAlertCmd1.label;" label2="&delbuddyAlertCmd2.label;" accesskey="&delbuddyAlertCmd.accesskey;" oncommand="gContextMenu.cmdContextDelBuddyAlert();"/>
  48.  
  49.         <menuseparator id="onlineseparator"/>
  50.         <menuitem id="context-addBuddy" label="&addBuddyCmd.label;" oncommand="gContextMenu.cmdContextAddBuddy();"/>
  51.         <menuitem id="context-addGroup" label="&addGroupCmd.label;" oncommand="gContextMenu.cmdContextAddGroup();"/>
  52.         <menuitem id="context-delete"   label="&deleteCmd.label;" oncommand="gContextMenu.cmdContextDelete();"/>
  53.         <menuseparator/>
  54.  
  55.         <menuitem id="context-block" label="&blockCmd.label;" oncommand="gContextMenu.cmdContextBlockBuddy()"/>
  56.     </popup>
  57. </popupset>
  58.  
  59. </overlay>
  60.