diff options
Diffstat (limited to 'browser/components/preferences/in-content/main.xul')
-rw-r--r-- | browser/components/preferences/in-content/main.xul | 284 |
1 files changed, 0 insertions, 284 deletions
diff --git a/browser/components/preferences/in-content/main.xul b/browser/components/preferences/in-content/main.xul deleted file mode 100644 index 8eca11877..000000000 --- a/browser/components/preferences/in-content/main.xul +++ /dev/null @@ -1,284 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -<!-- General panel --> - -<script type="application/javascript" - src="chrome://browser/content/preferences/in-content/main.js"/> - -<preferences id="mainPreferences" hidden="true" data-category="paneGeneral"> - - <!-- Startup --> - <preference id="browser.startup.page" - name="browser.startup.page" - type="int"/> - <preference id="browser.startup.homepage" - name="browser.startup.homepage" - type="wstring"/> - -#ifdef HAVE_SHELL_SERVICE - <preference id="browser.shell.checkDefaultBrowser" - name="browser.shell.checkDefaultBrowser" - type="bool"/> - - <preference id="pref.general.disable_button.default_browser" - name="pref.general.disable_button.default_browser" - type="bool"/> -#endif - - <preference id="pref.browser.homepage.disable_button.current_page" - name="pref.browser.homepage.disable_button.current_page" - type="bool"/> - <preference id="pref.browser.homepage.disable_button.bookmark_page" - name="pref.browser.homepage.disable_button.bookmark_page" - type="bool"/> - <preference id="pref.browser.homepage.disable_button.restore_default" - name="pref.browser.homepage.disable_button.restore_default" - type="bool"/> - - <preference id="browser.privatebrowsing.autostart" - name="browser.privatebrowsing.autostart" - type="bool"/> - - <!-- Downloads --> - <preference id="browser.download.useDownloadDir" - name="browser.download.useDownloadDir" - type="bool"/> - - <preference id="browser.download.folderList" - name="browser.download.folderList" - type="int"/> - <preference id="browser.download.dir" - name="browser.download.dir" - type="file"/> - <!-- Tab preferences - Preferences: - - browser.link.open_newwindow - 1 opens such links in the most recent window or tab, - 2 opens such links in a new window, - 3 opens such links in a new tab - browser.tabs.loadInBackground - - true if display should switch to a new tab which has been opened from a - link, false if display shouldn't switch - browser.tabs.warnOnClose - - true if when closing a window with multiple tabs the user is warned and - allowed to cancel the action, false to just close the window - browser.tabs.warnOnOpen - - true if the user should be warned if he attempts to open a lot of tabs at - once (e.g. a large folder of bookmarks), false otherwise - browser.taskbar.previews.enable - - true if tabs are to be shown in the Windows 7 taskbar - --> - - <preference id="browser.link.open_newwindow" - name="browser.link.open_newwindow" - type="int"/> - <preference id="browser.tabs.loadInBackground" - name="browser.tabs.loadInBackground" - type="bool" - inverted="true"/> - <preference id="browser.tabs.warnOnClose" - name="browser.tabs.warnOnClose" - type="bool"/> - <preference id="browser.tabs.warnOnOpen" - name="browser.tabs.warnOnOpen" - type="bool"/> - <preference id="browser.sessionstore.restore_on_demand" - name="browser.sessionstore.restore_on_demand" - type="bool"/> -#ifdef XP_WIN - <preference id="browser.taskbar.previews.enable" - name="browser.taskbar.previews.enable" - type="bool"/> -#endif - <preference id="browser.ctrlTab.previews" - name="browser.ctrlTab.previews" - type="bool"/> -</preferences> - -<hbox id="header-general" - class="header" - hidden="true" - data-category="paneGeneral"> - <label class="header-name" flex="1">&paneGeneral.title;</label> - <html:a class="help-button" target="_blank" aria-label="&helpButton.label;"></html:a> -</hbox> - -<!-- Startup --> -<groupbox id="startupGroup" - data-category="paneGeneral" - hidden="true"> - <caption><label>&startup.label;</label></caption> - -#ifdef MOZ_DEV_EDITION - <vbox id="separateProfileBox"> - <checkbox id="separateProfileMode" - label="&separateProfileMode.label;"/> - <hbox align="center" class="indent"> - <label id="useFirefoxSync">&useFirefoxSync.label;</label> - <label id="getStarted" class="text-link">&getStarted.label;</label> - </hbox> - </vbox> -#endif - -#ifdef HAVE_SHELL_SERVICE - <vbox id="defaultBrowserBox"> - <hbox align="center"> - <checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser" - label="&alwaysCheckDefault2.label;" accesskey="&alwaysCheckDefault2.accesskey;"/> - </hbox> - <deck id="setDefaultPane"> - <hbox align="center" class="indent"> - <label id="isNotDefaultLabel" flex="1">&isNotDefault.label;</label> - <button id="setDefaultButton" - label="&setAsMyDefaultBrowser2.label;" accesskey="&setAsMyDefaultBrowser2.accesskey;" - preference="pref.general.disable_button.default_browser"/> - </hbox> - <hbox align="center" class="indent"> - <label id="isDefaultLabel" flex="1">&isDefault.label;</label> - </hbox> - </deck> - <separator class="thin"/> - </vbox> -#endif - - <html:table id="startupTable"> - <html:tr> - <html:td class="label-cell"> - <label accesskey="&startupPage.accesskey;" - control="browserStartupPage">&startupPage.label;</label> - </html:td> - <html:td class="content-cell"> - <menulist id="browserStartupPage" - class="content-cell-item" - preference="browser.startup.page"> - <menupopup> - <menuitem label="&startupHomePage.label;" - value="1" - id="browserStartupHomePage"/> - <menuitem label="&startupBlankPage.label;" - value="0" - id="browserStartupBlank"/> - <menuitem label="&startupLastSession.label;" - value="3" - id="browserStartupLastSession"/> - </menupopup> - </menulist> - </html:td> - </html:tr> - <html:tr> - <html:td class="label-cell"> - <label accesskey="&homepage.accesskey;" - control="browserHomePage">&homepage.label;</label> - </html:td> - <html:td class="content-cell"> - <textbox id="browserHomePage" - class="padded uri-element content-cell-item" - type="autocomplete" - autocompletesearch="unifiedcomplete" - onsyncfrompreference="return gMainPane.syncFromHomePref();" - onsynctopreference="return gMainPane.syncToHomePref(this.value);" - placeholder="&abouthome.pageTitle;" - preference="browser.startup.homepage"/> - </html:td> - </html:tr> - <html:tr> - <html:td class="label-cell" /> - <html:td class="content-cell homepage-buttons"> - <button id="useCurrent" - class="content-cell-item" - label="" - accesskey="&useCurrentPage.accesskey;" - label1="&useCurrentPage.label;" - label2="&useMultiple.label;" - preference="pref.browser.homepage.disable_button.current_page"/> - <button id="useBookmark" - class="content-cell-item" - label="&chooseBookmark.label;" - accesskey="&chooseBookmark.accesskey;" - preference="pref.browser.homepage.disable_button.bookmark_page"/> - <button id="restoreDefaultHomePage" - class="content-cell-item" - label="&restoreDefault.label;" - accesskey="&restoreDefault.accesskey;" - preference="pref.browser.homepage.disable_button.restore_default"/> - </html:td> - </html:tr> - </html:table> -</groupbox> - -<!-- Downloads --> -<groupbox id="downloadsGroup" - data-category="paneGeneral" - hidden="true"> - <caption><label>&downloads.label;</label></caption> - - <radiogroup id="saveWhere" - preference="browser.download.useDownloadDir" - onsyncfrompreference="return gMainPane.readUseDownloadDir();"> - <hbox id="saveToRow"> - <radio id="saveTo" - value="true" - label="&saveTo.label;" - accesskey="&saveTo.accesskey;" - aria-labelledby="saveTo downloadFolder"/> - <filefield id="downloadFolder" - flex="1" - preference="browser.download.folderList" - preference-editable="true" - aria-labelledby="saveTo" - onsyncfrompreference="return gMainPane.displayDownloadDirPref();"/> - <button id="chooseFolder" -#ifdef XP_MACOSX - accesskey="&chooseFolderMac.accesskey;" - label="&chooseFolderMac.label;" -#else - accesskey="&chooseFolderWin.accesskey;" - label="&chooseFolderWin.label;" -#endif - /> - </hbox> - <hbox> - <radio id="alwaysAsk" - value="false" - label="&alwaysAsk.label;" - accesskey="&alwaysAsk.accesskey;"/> - </hbox> - </radiogroup> -</groupbox> - -<!-- Tab preferences --> -<groupbox data-category="paneGeneral" - hidden="true" align="start"> - <caption><label>&tabsGroup.label;</label></caption> - - <checkbox id="ctrlTabRecentlyUsedOrder" label="&ctrlTabRecentlyUsedOrder.label;" - accesskey="&ctrlTabRecentlyUsedOrder.accesskey;" - preference="browser.ctrlTab.previews"/> - - <checkbox id="linkTargeting" label="&newWindowsAsTabs.label;" - accesskey="&newWindowsAsTabs.accesskey;" - preference="browser.link.open_newwindow" - onsyncfrompreference="return gMainPane.readLinkTarget();" - onsynctopreference="return gMainPane.writeLinkTarget();"/> - - <checkbox id="warnCloseMultiple" label="&warnCloseMultipleTabs.label;" - accesskey="&warnCloseMultipleTabs.accesskey;" - preference="browser.tabs.warnOnClose"/> - - <checkbox id="warnOpenMany" label="&warnOpenManyTabs.label;" - accesskey="&warnOpenManyTabs.accesskey;" - preference="browser.tabs.warnOnOpen"/> - - <checkbox id="switchToNewTabs" label="&switchToNewTabs.label;" - accesskey="&switchToNewTabs.accesskey;" - preference="browser.tabs.loadInBackground"/> - -#ifdef XP_WIN - <checkbox id="showTabsInTaskbar" label="&showTabsInTaskbar.label;" - accesskey="&showTabsInTaskbar.accesskey;" - preference="browser.taskbar.previews.enable"/> -#endif -</groupbox> |