Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 4 | |
michael@0 | 5 | <panel id="PanelUI-popup" |
michael@0 | 6 | role="group" |
michael@0 | 7 | type="arrow" |
michael@0 | 8 | hidden="true" |
michael@0 | 9 | flip="slide" |
michael@0 | 10 | animate="false" |
michael@0 | 11 | position="bottomcenter topright" |
michael@0 | 12 | noautofocus="true"> |
michael@0 | 13 | <panelmultiview id="PanelUI-multiView" mainViewId="PanelUI-mainView"> |
michael@0 | 14 | <panelview id="PanelUI-mainView" context="customizationPanelContextMenu"> |
michael@0 | 15 | <vbox id="PanelUI-contents-scroller"> |
michael@0 | 16 | <vbox id="PanelUI-contents" class="panelUI-grid"/> |
michael@0 | 17 | </vbox> |
michael@0 | 18 | |
michael@0 | 19 | <footer id="PanelUI-footer"> |
michael@0 | 20 | <toolbarbutton id="PanelUI-fxa-status" |
michael@0 | 21 | defaultlabel="&fxaSignIn.label;" |
michael@0 | 22 | errorlabel="&fxaSignInError.label;" |
michael@0 | 23 | oncommand="gFxAccounts.onMenuPanelCommand(event);" |
michael@0 | 24 | hidden="true"/> |
michael@0 | 25 | |
michael@0 | 26 | <hbox id="PanelUI-footer-inner"> |
michael@0 | 27 | <toolbarbutton id="PanelUI-customize" label="&appMenuCustomize.label;" |
michael@0 | 28 | exitLabel="&appMenuCustomizeExit.label;" |
michael@0 | 29 | tooltiptext="&appMenuCustomize.tooltip;" |
michael@0 | 30 | exitTooltiptext="&appMenuCustomizeExit.tooltip;" |
michael@0 | 31 | closemenu="none" |
michael@0 | 32 | oncommand="gCustomizeMode.toggle();"/> |
michael@0 | 33 | <toolbarseparator/> |
michael@0 | 34 | <toolbarbutton id="PanelUI-help" label="&helpMenu.label;" |
michael@0 | 35 | closemenu="none" |
michael@0 | 36 | tooltiptext="&appMenuHelp.tooltip;" |
michael@0 | 37 | oncommand="PanelUI.showHelpView(this);"/> |
michael@0 | 38 | <toolbarseparator/> |
michael@0 | 39 | <toolbarbutton id="PanelUI-quit" |
michael@0 | 40 | #ifdef XP_WIN |
michael@0 | 41 | label="&quitApplicationCmdWin.label;" |
michael@0 | 42 | tooltiptext="&quitApplicationCmdWin.tooltip;" |
michael@0 | 43 | #else |
michael@0 | 44 | #ifdef XP_MACOSX |
michael@0 | 45 | label="&quitApplicationCmdMac.label;" |
michael@0 | 46 | #else |
michael@0 | 47 | label="&quitApplicationCmd.label;" |
michael@0 | 48 | #endif |
michael@0 | 49 | #endif |
michael@0 | 50 | command="cmd_quitApplication"/> |
michael@0 | 51 | </hbox> |
michael@0 | 52 | </footer> |
michael@0 | 53 | </panelview> |
michael@0 | 54 | |
michael@0 | 55 | <panelview id="PanelUI-history" flex="1"> |
michael@0 | 56 | <label value="&appMenuHistory.label;" class="panel-subview-header"/> |
michael@0 | 57 | <vbox class="panel-subview-body"> |
michael@0 | 58 | <toolbarbutton id="appMenuViewHistorySidebar" |
michael@0 | 59 | label="&appMenuHistory.viewSidebar.label;" |
michael@0 | 60 | type="checkbox" |
michael@0 | 61 | class="subviewbutton" |
michael@0 | 62 | oncommand="toggleSidebar('viewHistorySidebar'); PanelUI.hide();"> |
michael@0 | 63 | <observes element="viewHistorySidebar" attribute="checked"/> |
michael@0 | 64 | </toolbarbutton> |
michael@0 | 65 | <toolbarbutton id="appMenuClearRecentHistory" |
michael@0 | 66 | label="&appMenuHistory.clearRecent.label;" |
michael@0 | 67 | class="subviewbutton" |
michael@0 | 68 | command="Tools:Sanitize"/> |
michael@0 | 69 | #ifdef MOZ_SERVICES_SYNC |
michael@0 | 70 | <toolbarbutton id="sync-tabs-menuitem2" |
michael@0 | 71 | class="syncTabsMenuItem subviewbutton" |
michael@0 | 72 | label="&syncTabsMenu2.label;" |
michael@0 | 73 | oncommand="BrowserOpenSyncTabs();" |
michael@0 | 74 | disabled="true"/> |
michael@0 | 75 | #endif |
michael@0 | 76 | <toolbarbutton id="appMenuRestoreLastSession" |
michael@0 | 77 | label="&appMenuHistory.restoreSession.label;" |
michael@0 | 78 | class="subviewbutton" |
michael@0 | 79 | command="Browser:RestoreLastSession"/> |
michael@0 | 80 | <menuseparator id="PanelUI-recentlyClosedTabs-separator"/> |
michael@0 | 81 | <vbox id="PanelUI-recentlyClosedTabs" tooltip="bhTooltip"/> |
michael@0 | 82 | <menuseparator id="PanelUI-recentlyClosedWindows-separator"/> |
michael@0 | 83 | <vbox id="PanelUI-recentlyClosedWindows" tooltip="bhTooltip"/> |
michael@0 | 84 | <menuseparator id="PanelUI-historyItems-separator"/> |
michael@0 | 85 | <vbox id="PanelUI-historyItems" tooltip="bhTooltip"/> |
michael@0 | 86 | </vbox> |
michael@0 | 87 | <toolbarbutton id="PanelUI-historyMore" |
michael@0 | 88 | class="panel-subview-footer subviewbutton" |
michael@0 | 89 | label="&appMenuHistory.showAll.label;" |
michael@0 | 90 | oncommand="PlacesCommandHook.showPlacesOrganizer('History'); CustomizableUI.hidePanelForNode(this);"/> |
michael@0 | 91 | </panelview> |
michael@0 | 92 | |
michael@0 | 93 | <panelview id="PanelUI-bookmarks" flex="1" class="PanelUI-subView"> |
michael@0 | 94 | <label value="&bookmarksMenu.label;" class="panel-subview-header"/> |
michael@0 | 95 | <vbox class="panel-subview-body"> |
michael@0 | 96 | <toolbarbutton id="panelMenuBookmarkThisPage" |
michael@0 | 97 | class="subviewbutton" |
michael@0 | 98 | observes="bookmarkThisPageBroadcaster" |
michael@0 | 99 | command="Browser:AddBookmarkAs" |
michael@0 | 100 | onclick="PanelUI.hide();"/> |
michael@0 | 101 | <toolbarseparator/> |
michael@0 | 102 | <toolbarbutton id="panelMenu_viewBookmarksSidebar" |
michael@0 | 103 | label="&viewBookmarksSidebar2.label;" |
michael@0 | 104 | class="subviewbutton" |
michael@0 | 105 | oncommand="toggleSidebar('viewBookmarksSidebar'); PanelUI.hide();"> |
michael@0 | 106 | <observes element="viewBookmarksSidebar" attribute="checked"/> |
michael@0 | 107 | </toolbarbutton> |
michael@0 | 108 | <toolbarbutton id="panelMenu_viewBookmarksToolbar" |
michael@0 | 109 | label="&viewBookmarksToolbar.label;" |
michael@0 | 110 | type="checkbox" |
michael@0 | 111 | toolbarId="PersonalToolbar" |
michael@0 | 112 | class="subviewbutton" |
michael@0 | 113 | oncommand="onViewToolbarCommand(event); PanelUI.hide();"/> |
michael@0 | 114 | <toolbarseparator/> |
michael@0 | 115 | <toolbarbutton id="panelMenu_bookmarksToolbar" |
michael@0 | 116 | label="&personalbarCmd.label;" |
michael@0 | 117 | class="subviewbutton cui-withicon" |
michael@0 | 118 | oncommand="PlacesCommandHook.showPlacesOrganizer('BookmarksToolbar'); PanelUI.hide();"/> |
michael@0 | 119 | <toolbarbutton id="panelMenu_unsortedBookmarks" |
michael@0 | 120 | label="&unsortedBookmarksCmd.label;" |
michael@0 | 121 | class="subviewbutton cui-withicon" |
michael@0 | 122 | oncommand="PlacesCommandHook.showPlacesOrganizer('UnfiledBookmarks'); PanelUI.hide();"/> |
michael@0 | 123 | <toolbarseparator class="small-separator"/> |
michael@0 | 124 | <toolbaritem id="panelMenu_bookmarksMenu" |
michael@0 | 125 | orient="vertical" |
michael@0 | 126 | smoothscroll="false" |
michael@0 | 127 | onclick="if (event.button == 1) BookmarkingUI.onPanelMenuViewCommand(event, this._placesView);" |
michael@0 | 128 | oncommand="BookmarkingUI.onPanelMenuViewCommand(event, this._placesView);" |
michael@0 | 129 | flatList="true" |
michael@0 | 130 | tooltip="bhTooltip"> |
michael@0 | 131 | <!-- bookmarks menu items will go here --> |
michael@0 | 132 | </toolbaritem> |
michael@0 | 133 | </vbox> |
michael@0 | 134 | <toolbarbutton id="panelMenu_showAllBookmarks" |
michael@0 | 135 | label="&showAllBookmarks2.label;" |
michael@0 | 136 | class="subviewbutton panel-subview-footer" |
michael@0 | 137 | command="Browser:ShowAllBookmarks" |
michael@0 | 138 | onclick="PanelUI.hide();"/> |
michael@0 | 139 | </panelview> |
michael@0 | 140 | |
michael@0 | 141 | <panelview id="PanelUI-socialapi" flex="1"/> |
michael@0 | 142 | |
michael@0 | 143 | <panelview id="PanelUI-feeds" flex="1" oncommand="FeedHandler.subscribeToFeed(null, event);"> |
michael@0 | 144 | <label value="&feedsMenu.label;" class="panel-subview-header"/> |
michael@0 | 145 | </panelview> |
michael@0 | 146 | |
michael@0 | 147 | <panelview id="PanelUI-helpView" flex="1" class="PanelUI-subView"> |
michael@0 | 148 | <label value="&helpMenu.label;" class="panel-subview-header"/> |
michael@0 | 149 | <vbox id="PanelUI-helpItems" class="panel-subview-body"/> |
michael@0 | 150 | </panelview> |
michael@0 | 151 | |
michael@0 | 152 | <panelview id="PanelUI-developer" flex="1"> |
michael@0 | 153 | <label value="&webDeveloperMenu.label;" class="panel-subview-header"/> |
michael@0 | 154 | <vbox id="PanelUI-developerItems" class="panel-subview-body"/> |
michael@0 | 155 | </panelview> |
michael@0 | 156 | |
michael@0 | 157 | <panelview id="PanelUI-sidebar" flex="1"> |
michael@0 | 158 | <label value="&appMenuSidebars.label;" class="panel-subview-header"/> |
michael@0 | 159 | <vbox id="PanelUI-sidebarItems" class="panel-subview-body"/> |
michael@0 | 160 | </panelview> |
michael@0 | 161 | |
michael@0 | 162 | <panelview id="PanelUI-characterEncodingView" flex="1"> |
michael@0 | 163 | <label value="&charsetMenu.label;" class="panel-subview-header"/> |
michael@0 | 164 | <vbox class="panel-subview-body"> |
michael@0 | 165 | <vbox id="PanelUI-characterEncodingView-pinned" |
michael@0 | 166 | class="PanelUI-characterEncodingView-list"/> |
michael@0 | 167 | <toolbarseparator/> |
michael@0 | 168 | <vbox id="PanelUI-characterEncodingView-charsets" |
michael@0 | 169 | class="PanelUI-characterEncodingView-list"/> |
michael@0 | 170 | <toolbarseparator/> |
michael@0 | 171 | <vbox> |
michael@0 | 172 | <label id="PanelUI-characterEncodingView-autodetect-label"/> |
michael@0 | 173 | <vbox id="PanelUI-characterEncodingView-autodetect" |
michael@0 | 174 | class="PanelUI-characterEncodingView-list"/> |
michael@0 | 175 | </vbox> |
michael@0 | 176 | </vbox> |
michael@0 | 177 | </panelview> |
michael@0 | 178 | |
michael@0 | 179 | </panelmultiview> |
michael@0 | 180 | <!-- These menupopups are located here to prevent flickering, |
michael@0 | 181 | see bug 492960 comment 20. --> |
michael@0 | 182 | <menupopup id="customizationPanelItemContextMenu"> |
michael@0 | 183 | <menuitem oncommand="gCustomizeMode.addToToolbar(document.popupNode)" |
michael@0 | 184 | class="customize-context-moveToToolbar" |
michael@0 | 185 | accesskey="&customizeMenu.moveToToolbar.accesskey;" |
michael@0 | 186 | label="&customizeMenu.moveToToolbar.label;"/> |
michael@0 | 187 | <menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)" |
michael@0 | 188 | class="customize-context-removeFromPanel" |
michael@0 | 189 | accesskey="&customizeMenu.removeFromMenu.accesskey;" |
michael@0 | 190 | label="&customizeMenu.removeFromMenu.label;"/> |
michael@0 | 191 | <menuseparator/> |
michael@0 | 192 | <menuitem command="cmd_CustomizeToolbars" |
michael@0 | 193 | class="viewCustomizeToolbar" |
michael@0 | 194 | accesskey="&viewCustomizeToolbar.accesskey;" |
michael@0 | 195 | label="&viewCustomizeToolbar.label;"/> |
michael@0 | 196 | </menupopup> |
michael@0 | 197 | |
michael@0 | 198 | <menupopup id="customizationPaletteItemContextMenu"> |
michael@0 | 199 | <menuitem oncommand="gCustomizeMode.addToToolbar(document.popupNode)" |
michael@0 | 200 | class="customize-context-addToToolbar" |
michael@0 | 201 | accesskey="&customizeMenu.addToToolbar.accesskey;" |
michael@0 | 202 | label="&customizeMenu.addToToolbar.label;"/> |
michael@0 | 203 | <menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)" |
michael@0 | 204 | class="customize-context-addToPanel" |
michael@0 | 205 | accesskey="&customizeMenu.addToPanel.accesskey;" |
michael@0 | 206 | label="&customizeMenu.addToPanel.label;"/> |
michael@0 | 207 | </menupopup> |
michael@0 | 208 | |
michael@0 | 209 | <menupopup id="customizationPanelContextMenu"> |
michael@0 | 210 | <menuitem command="cmd_CustomizeToolbars" |
michael@0 | 211 | accesskey="&customizeMenu.addMoreItems.accesskey;" |
michael@0 | 212 | label="&customizeMenu.addMoreItems.label;"/> |
michael@0 | 213 | </menupopup> |
michael@0 | 214 | </panel> |
michael@0 | 215 | |
michael@0 | 216 | <panel id="widget-overflow" |
michael@0 | 217 | role="group" |
michael@0 | 218 | type="arrow" |
michael@0 | 219 | noautofocus="true" |
michael@0 | 220 | context="toolbar-context-menu" |
michael@0 | 221 | position="bottomcenter topright" |
michael@0 | 222 | hidden="true"> |
michael@0 | 223 | <vbox id="widget-overflow-scroller"> |
michael@0 | 224 | <vbox id="widget-overflow-list" class="widget-overflow-list" |
michael@0 | 225 | overflowfortoolbar="nav-bar"/> |
michael@0 | 226 | </vbox> |
michael@0 | 227 | </panel> |
michael@0 | 228 | |
michael@0 | 229 | <panel id="customization-tipPanel" |
michael@0 | 230 | type="arrow" |
michael@0 | 231 | flip="none" |
michael@0 | 232 | side="left" |
michael@0 | 233 | position="leftcenter topright" |
michael@0 | 234 | noautohide="true" |
michael@0 | 235 | hidden="true"> |
michael@0 | 236 | <hbox class="customization-tipPanel-wrapper"> |
michael@0 | 237 | <vbox class="customization-tipPanel-infoBox"/> |
michael@0 | 238 | <vbox class="customization-tipPanel-content" flex="1"> |
michael@0 | 239 | <description class="customization-tipPanel-contentMessage"/> |
michael@0 | 240 | <image class="customization-tipPanel-contentImage"/> |
michael@0 | 241 | </vbox> |
michael@0 | 242 | <vbox pack="start" align="end" class="customization-tipPanel-closeBox"> |
michael@0 | 243 | <toolbarbutton oncommand="gCustomizeMode.hideTip()" class="close-icon"/> |
michael@0 | 244 | </vbox> |
michael@0 | 245 | </hbox> |
michael@0 | 246 | </panel> |