enable a simple way to set a blank page as your home page in preferences

bug=346044
r=mconnor
This commit is contained in:
myk%mozilla.org 2006-08-09 23:05:52 +00:00
parent 02bd894974
commit 6458c32a12
4 changed files with 22 additions and 3 deletions

View File

@ -69,6 +69,10 @@
name="pref.browser.homepage.disable_button.bookmark_page" name="pref.browser.homepage.disable_button.bookmark_page"
type="bool"/> type="bool"/>
<preference id="browser.startup.page"
name="browser.startup.page"
type="int"/>
<!-- Downloads --> <!-- Downloads -->
<preference id="browser.download.manager.showWhenStarting" <preference id="browser.download.manager.showWhenStarting"
name="browser.download.manager.showWhenStarting" name="browser.download.manager.showWhenStarting"
@ -130,6 +134,16 @@
id="restoreDefaultHomePage" id="restoreDefaultHomePage"
preference="pref.browser.homepage.disable_button.restore_default"/> preference="pref.browser.homepage.disable_button.restore_default"/>
</hbox> </hbox>
<hbox align="center">
<label value="&startup.label;" accesskey="&startup.accesskey;" control="browserStartupPage"/>
<menulist id="browserStartupPage" preference="browser.startup.page">
<menupopup>
<menuitem label="&startupHomePage.label;" value="1"/>
<menuitem label="&startupBlankPage.label;" value="0"/>
<menuitem label="&startupPreviousSession.label;" value="3"/>
</menupopup>
</menulist>
</hbox>
</groupbox> </groupbox>
<!-- Downloads --> <!-- Downloads -->

View File

@ -9,6 +9,11 @@
<!ENTITY useBookmark.accesskey "B"> <!ENTITY useBookmark.accesskey "B">
<!ENTITY restoreDefault.label "Restore to Default"> <!ENTITY restoreDefault.label "Restore to Default">
<!ENTITY restoreDefault.accesskey "R"> <!ENTITY restoreDefault.accesskey "R">
<!ENTITY startup.label "When &brandShortName; Starts:">
<!ENTITY startup.accesskey "S">
<!ENTITY startupHomePage.label "Load my home page">
<!ENTITY startupBlankPage.label "Show a blank page">
<!ENTITY startupPreviousSession.label "Show the tabs and windows from last time">
<!ENTITY downloads.label "Downloads"> <!ENTITY downloads.label "Downloads">

View File

@ -150,7 +150,7 @@ description {
margin-bottom: 4px !important; margin-bottom: 4px !important;
} }
#browserStartupHomepage { #browserHomePage {
padding: 2px 2px 3px 4px; padding: 2px 2px 3px 4px;
} }
@ -247,7 +247,7 @@ caption {
padding: 18px 10px 10px 10px; padding: 18px 10px 10px 10px;
} }
#browserStartupHomepage { #browserHomePage {
padding: 0; padding: 0;
} }

View File

@ -93,7 +93,7 @@ radio[pane=paneAdvanced]:hover, radio[pane=paneAdvanced][selected="true"] {
} }
/* General Pane */ /* General Pane */
#browserStartupHomepage { #browserHomePage {
padding-top: 2px; padding-top: 2px;
padding-bottom: 3px; padding-bottom: 3px;
-moz-padding-start: 4px; -moz-padding-start: 4px;