DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
<?xml version="1.0"?>

<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % generalDTD SYSTEM "chrome://browser/locale/preferences/general.dtd" >
%generalDTD;
]>

<overlay id="GeneralPaneOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
           
  <prefpane id="paneGeneral" onpaneload="gGeneralPane.init();"
            helpTopic="prefs-general" helpURI="chrome://browser/locale/help/help.rdf">
    <script type="application/x-javascript" src="chrome://browser/content/preferences/general.js"/>

    <preferences>
      <preference id="browser.startup.homepage"
                  name="browser.startup.homepage"
                  type="wstring" onchange="gGeneralPane.homepageChanged(event);"/>
      <preference id="browser.shell.checkDefaultBrowser"
                  name="browser.shell.checkDefaultBrowser"
                  type="bool"/>
      <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.blank_page"
                  name="pref.browser.homepage.disable_button.blank_page"
                  type="bool"/>
      <preference id="pref.general.disable_button.default_browser"
                  name="pref.general.disable_button.default_browser"
                  type="bool"/>
    </preferences>
    
    <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
    <stringbundle id="bundleShell" src="chrome://browser/locale/shellservice.properties"/>

    <groupbox>
      <caption label="&header2.label;"/>
      <hbox align="center" flex="1">
        <label value="&location.label;" accesskey="&location.accesskey;" control="browserStartupHomepage"/>
        <textbox id="browserStartupHomepage" class="padded" flex="1" 
                 type="autocomplete" autocompletesearch="history"
                 preference="browser.startup.homepage"/>
      </hbox>
      <hbox align="center" pack="end">
        <button label="&useCurrent.label;" accesskey="&useCurrent.accesskey;"
                label2="&useCurrentMultiple.label;"
                oncommand="gGeneralPane.setHomePageToCurrentPage();"
                id="browserUseCurrent"
                preference="pref.browser.homepage.disable_button.current_page"/>
        <button label="&useBookmark.label;" accesskey="&useBookmark.accesskey;"
                oncommand="gGeneralPane.setHomePageToBookmark();"
                id="browserUseBookmark"
                preference="pref.browser.homepage.disable_button.bookmark_page"/>
        <button label="&useBlank.label;" accesskey="&useBlank.accesskey;"
                oncommand="gGeneralPane.setHomePageToBlankPage();"
                id="browserUseBlank"
                preference="pref.browser.homepage.disable_button.blank_page"/>
      </hbox>
    </groupbox>

#ifdef HAVE_SHELL_SERVICE
    <groupbox orient="horizontal">
      <caption label="&defaultBrowserGroup.label;"/>
      <hbox align="center" flex="1">      
        <checkbox id="checkForDefault" preference="browser.shell.checkDefaultBrowser"
                  label="&checkForDefault.label;" accesskey="&checkForDefault.accesskey;"
                  flex="1"/>
        <button label="&checkNow.label;" accesskey="&checkNow.accesskey;"
                oncommand="gGeneralPane.checkNow()"
                preference="pref.general.disable_button.default_browser"/>
      </hbox>
    </groupbox>
#endif

    <groupbox>
      <caption label="&connectionsInfo.caption;"/>
      <hbox align="center">
        <description flex="1" control="catProxiesButton">&proxiesInfo.label;</description>
        <button id="catProxiesButton" icon="network" label="&showConnections.label;" 
                accesskey="&showConnections.accesskey;" 
                oncommand="gGeneralPane.showConnections();"/>
      </hbox>
    </groupbox>
    <separator/>
  </prefpane>

</overlay>