зеркало из https://github.com/mozilla/gecko-dev.git
fix for #2658, allow the user to set the mailnews start page via prefs.
I'm re-using some of the js in PrefWindow.js to do this, since it very much like setting the users home page.
This commit is contained in:
Родитель
f6042e8153
Коммит
e0b95ee765
|
@ -97,6 +97,7 @@
|
|||
<html:label for="pref:1:bool:mailnews.confirm.moveFoldersToTrash">&confirmMove.label;</html:label>
|
||||
</html:div>
|
||||
|
||||
<!-- this should be in a platform specific overlay, as Linux and Mac don't have MAPI -->
|
||||
<html:div>
|
||||
<html:input id="pref:0:bool:mail.use_mapi_server" type="checkbox"/>
|
||||
<html:label for="pref:0:bool:mail.use_mapi_server">&useMessenger.label;</html:label>
|
||||
|
@ -113,5 +114,18 @@
|
|||
<html:label>&useMessenger.label;</html:label></html:td></html:tr>
|
||||
</html:table-->
|
||||
</html:fieldset>
|
||||
<html:fieldset>
|
||||
<html:legend align="left">
|
||||
<html:div>&startPageHeader.label;</html:div>
|
||||
</html:legend>
|
||||
<html:div>&startPageInfo.label;</html:div>
|
||||
&location;
|
||||
<html:input name="homepage" type="text" id="pref:string:mailnews.start_page.url" size="50" />
|
||||
<html:div>
|
||||
<spring flex="100%"/>
|
||||
<titledbutton class="dialog push" name="starts" type="button" value="&useCurrent;" onclick="SetPrefToCurrentPage('pref:string:mailnews.start_page.url');" />
|
||||
<titledbutton class="dialog push" name="browse" type="button" value="&browseFile;" onclick="PrefNavSelectFile('pref:string:mailnews.start_page.url')"/>
|
||||
</html:div>
|
||||
</html:fieldset>
|
||||
|
||||
</window>
|
||||
|
|
|
@ -39,4 +39,9 @@ Rights Reserved.
|
|||
<!ENTITY rememberLastMsg.label "Remember the last selected message">
|
||||
<!ENTITY confirmMove.label "Confirm when moving folders to the trash">
|
||||
<!ENTITY useMessenger.label "Use Mozilla Messenger from MAPI-based applications">
|
||||
<!ENTITY startPageHeader.label "Messenger Start Page">
|
||||
<!ENTITY startPageInfo.label "This is the page you see when you launch Messenger.">
|
||||
<!ENTITY location "Location:">
|
||||
<!ENTITY useCurrent "Use Current Page">
|
||||
<!ENTITY browseFile "Select File...">
|
||||
|
||||
|
|
|
@ -39,4 +39,9 @@ Rights Reserved.
|
|||
<!ENTITY rememberLastMsg.label "Remember the last selected message">
|
||||
<!ENTITY confirmMove.label "Confirm when moving folders to the trash">
|
||||
<!ENTITY useMessenger.label "Use Mozilla Messenger from MAPI-based applications">
|
||||
<!ENTITY startPageHeader.label "Messenger Start Page">
|
||||
<!ENTITY startPageInfo.label "This is the page you see when you launch Messenger.">
|
||||
<!ENTITY location "Location:">
|
||||
<!ENTITY useCurrent "Use Current Page">
|
||||
<!ENTITY browseFile "Select File...">
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче