home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://aim/skin/appWindow.css" type="text/css"?>
-
- <?xul-overlay href="chrome://aim/content/App-shrimp.xul"?>
- <?xul-overlay href="chrome://aim/content/AppWindowPlatformOverlay.xul"?>
- <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
-
- <!DOCTYPE window SYSTEM "chrome://aim/locale/App.dtd" >
-
- <window xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- onload="AimAppOnWndLoad()"
- onunload="AimAppOnWndUnload()"
- id="AimApp"
- name="AimApp"
- orient="vertical"
- windowtype="Aim:AimApp"
- width="214" height="520"
- screenX="10" screenY="10"
- persist="screenX screenY width height">
-
- <script language="JavaScript" src="chrome://aim/content/aimHelpers.js" />
- <script language="JavaScript" src="chrome://global/content/strres.js" />
- <script language="JavaScript" src="chrome://aim/content/TabSetup.js" />
- <script language="JavaScript" src="chrome://aim/content/AimIM.js" />
- <script language="JavaScript" src="chrome://aim/content/AimSession.js" />
- <script language="JavaScript" src="chrome://aim/content/AimBuddy.js" />
- <script language="JavaScript" src="chrome://aim/content/App.js" />
- <script language="JavaScript" src="chrome://aim/content/Aim.js" />
- <script language="JavaScript" src="chrome://communicator/content/contentAreaClick.js"/>
- <script language="JavaScript" src="chrome://aim/content/invitelist.js" />
- <script language="JavaScript" src="chrome://aim/content/AppSessionObserver.js" />
-
- <commandset id="tasksCommands">
- <commandset id="CommandUpdate_App"
- commandupdater="true"
- events="tree-select"
- oncommandupdate="CommandUpdate_App()"/>
-
- <commandset id="globalEditMenuItems"/>
- <commandset id="selectEditMenuItems"/>
- <!-- File Menu -->
- <command id="cmd_newNavigator"/>
- <command id="cmd_newMessage"/>
- <command id="cmd_IM" oncommand="cmdNewIM()"/>
- <command id="cmd_import" oncommand="cmdImportBuddyList()"/>
- <command id="cmd_export" oncommand="cmdExportBuddyList()"/>
- <command id="cmd_close" oncommand="cmdClose()"/>
- <command id="cmd_quit"/>
-
- <!-- Edit Menu -->
- <command id="cmd_undo"/>
- <command id="cmd_redo"/>
- <command id="cmd_cut"/>
- <command id="cmd_copy"/>
- <command id="cmd_paste"/>
- <command id="cmd_delete"/>
- <command id="cmd_selectAll"/>
- <command id="cmd_preferences"/>
-
- <!-- People Menu -->
- <command id="cmd_chat" oncommand="cmdNewChat('',null,'',false,'outgoingchat')"/>
- <command id="cmd_addbuddy" oncommand="cmdAddBuddy()"/>
- <command id="cmd_addgroup" oncommand="cmdAddGroup()"/>
- <command id="cmd_fab" oncommand="window.openDialog('chrome:aim/content/findAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes')"/>
- <command id="cmd_soaf" oncommand="window.openDialog('chrome:aim/content/InviteAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes', null)"/>
-
-
- </commandset>
-
-
- <broadcasterset id="appBroadcasters">
- <!-- Doesnt work -disable for now-->
- <broadcaster id="IM:Throbber" busy="false"/>
-
- <broadcaster id="cmd_delete" disabled="false"/>
- </broadcasterset>
-
- <keyset id="tasksKeys">
- <!-- File Menu -->
- <key id="key_newNavigator"/>
- <key id="key_newMessage"/>
- <key id="key_newIM" key="&IMCmd.key;" command="cmd_IM" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_import" key="&importBuddyListCmd.key;" command="cmd_import" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_export" key="&exportBuddyListCmd.key;" command="cmd_export" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_close"/>
- <key id="key_quit"/>
-
- <!-- Edit Menu -->
- <key id="key_undo"/>
- <key id="key_redo"/>
- <key id="key_cut"/>
- <key id="key_copy"/>
- <key id="key_paste"/>
- <key id="key_delete" oncommand="cmdDelete()"/>
- <key id="key_selectAll"/>
- <key id="key_preferences"/>
-
-
- <!-- People Menu -->
- <key id="key_chat" key="&sendChatCmd.key;" command="cmd_chat" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_addbuddy" key="&addBuddyCmd.key;" command="cmd_addbuddy" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_addgroup" key="&addGroupCmd.key;" command="cmd_addgroup" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_fab" key="&fabCmd.key;" command="cmd_fab" disabled="false" alt="false" modifiers="accel,shift"/>
- <key id="key_soaf" key="&peopleSOaFCmd.key;" command="cmd_soaf" disabled="false" alt="false" modifiers="accel,shift"/>
-
- </keyset>
-
-
- <popupset id="aTooltipSet">
- <popup id="sidebarPopup"/>
- </popupset>
-
- <!-- Menu for the Window -->
-
- <toolbox id="main_toolbox">
- <menubar id="aim-menubar">
-
- <!-- File Menu -->
- <menu id="menu_File">
- <menupopup id="menu_FilePopup">
- <menuitem label="&newIMCmd.label;" oncommand="cmdNewIM()" key="key_newIM" accesskey="&IMCmd.accesskey;" command="cmd_IM" disabled="true"/>
- <!-- New popup (Overlay Additions) -->
- <menu id="menu_New" class="Hide-in-Shrimp">
- <menupopup>
- <menuitem id="menu_newNavigator" class="Hide-in-Shrimp"/>
- <menuitem id="menu_newIM" label="&newIMCmdSub.label;" oncommand="cmdNewIM()" key="key_newIM" accesskey="&IMCmd.accesskey;" command="cmd_IM" disabled="true"/>
- </menupopup>
- </menu>
- <menuseparator/>
- <menuitem id="menu_close"/>
- <menuitem label="&fileSignOffAndCloseCmd.label;" accesskey="&fileSignOffAndCloseCmd.accesskey;" oncommand="cmdSignOffAndClose()" id="miSignOffClose"/>
- <menuseparator/>
- <menuitem label="&importBuddyListCmd.label;" accesskey="&importBuddyListCmd.accesskey;" key="key_import" id="miImportBuddyList" command="cmd_import" disabled="true"/>
- <menuitem label="&exportBuddyListCmd.label;" accesskey="&exportBuddyListCmd.accesskey;" key="key_export" id="miExportBuddyList" command="cmd_export" disabled="true"/>
- <menuseparator/>
- <menuitem label="--" oncommand="cmdSignOn()" id="miSignOn" accesskey="&miSignOn.accesskey;" />
- <menuseparator/>
- </menupopup>
- </menu>
-
- <!-- Edit Menu -->
- <menu id="menu_Edit" class="Hide-in-Shrimp">
- <menupopup>
- <menuitem id="menu_undo"/>
- <menuitem id="menu_redo"/>
- <menuseparator/>
- <menuitem id="menu_cut"/>
- <menuitem id="menu_copy"/>
- <menuitem id="menu_paste"/>
- <!-- <menuseparator/>
- <menuitem id="menu_delete"/> -->
- <menuseparator />
- <menu id="editOptionsid" label="&editOptions.label;">
- <menupopup>
- <menuitem id="change_password" label="&changePassword.label;" oncommand="cmdChangePassword()" />
- <menuitem id="confirm_account"/>
- </menupopup>
- </menu>
- <menuseparator/>
- <menuitem id="menu_preferences" oncommand="goPreferences('App.xul', 'chrome://aim/content/pref-IM_instantmessage.xul','instantmessenger');"/>
- </menupopup>
- </menu>
-
- <!-- People Menu -->
- <menu id="people_menu" accesskey="&peopleMenu.accesskey;" label="&peopleMenu.label;" hidden="true">
- <menupopup id="menu_PeoplePopup" collapsed="true">
- <menuitem label="&sendIMCmd.label;" accesskey="&sendIMCmd.accesskey;" key="key_newIM" command="cmd_IM" id="menu_sendIM"/>
- <menuitem label="&sendChatCmd.label;" accesskey="&sendChatCmd.accesskey;" key="key_chat" command="cmd_chat" id="menu_sendChat"/>
- <menuseparator/>
- <menuitem label="&addBuddyCmd.label;" accesskey="&addBuddyCmd.accesskey;" key="key_addbuddy" command="cmd_addbuddy" id="menu_addBuddy"/>
- <menuitem label="&addGroupCmd.label;" accesskey="&addGroupCmd.accesskey;" key="key_addgroup" command="cmd_addgroup" id="menu_addGroup"/>
- <menuitem label="&delete.label;" observes="cmd_delete" accesskey="&delete.accesskey;" key="key_delete" id="menu_deleteBud"/>
- <menuseparator/>
- <menuitem label="&fabCmd.label;" accesskey="&fabCmd.accesskey;" key="key_fab" command="cmd_fab" id="menu_findABuddy"/>
- <menuitem label="&peopleSOaFCmd.label;" accesskey="&peopleSOaFCmd.accesskey;" key="key_soaf" command="cmd_soaf" id="menu_InviteAFriend"/>
- </menupopup>
- </menu>
-
- <!-- Services menu for shrimp. Not shown in non-shrimp clients -->
- <menu id="menu-services" />
- <menu id="menu-actions" />
- <menu id="menu-ShrimpHelp"/>
-
-
- <!-- Tasks Menu (Overlay Inserted) -->
- <menu accesskey="&taskMenu.accesskey;" id="tasksMenu" class="Hide-in-Shrimp"/>
- <menu accesskey="&helpMenu.accesskey;" id="menu_Help" class="Hide-in-Shrimp"/>
-
- <spring flex="1"/>
- </menubar>
- </toolbox>
-
- <box id="app-logo-box" class="nc">
- <image id="app-title-runman"/>
- <image id="app-title-text"/>
- <spring flex="1"/>
- <button id="navigator-throbber" observes="IM:Throbber" oncommand="AimgoClickThrobber('&throbber.url;')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;"/>
- </box>
-
- <box id="sidebar-box" flex="1" defaultpanel="urn:sidebar:panel:im-panel" style="max-width: none!important;"/>
-
- <box id="ad-box" class="nc">
- <box id="ad-box-inner" orient="vertical" flex="1" pack="center" align="center">
- <image id="adButton" onclick="cmdAdClick();"/>
- </box>
- </box>
-
- <statusbar id="status-bar" class="chromeclass-status">
- <hbox id="component-bar" class="component-bar-box" flex="1"/>
- </statusbar>
-
- <!-- shrimp specific task bar. Only shows in shrimp, controlled by App.css -->
- <box id="shrimp-taskbar" />
- </window>
-
-