#94836, "Open Web Location' dialog needs cleanup [Open Address']". UI remake of the Open Web Location dialog. Now known as Open Address.

r=cmanske, sr=blake


git-svn-id: svn://10.0.0.236/trunk@205505 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hwaara%chello.se 2006-07-29 05:38:21 +00:00
parent 67a61c8ee3
commit 1414fb9b2b
2 changed files with 28 additions and 24 deletions

View File

@ -40,7 +40,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&caption.label;" title="&caption.label;"
onload="onLoad()" onload="onLoad()"
style="width: 40em;" style="width: 30em;"
class="dialog" class="dialog"
orient="vertical" orient="vertical"
persist="screenX screenY" persist="screenX screenY"
@ -55,39 +55,39 @@
<keyset id="dialogKeys"/> <keyset id="dialogKeys"/>
<hbox> <hbox>
<separator orient="vertical" class="thin"/>
<vbox flex="1"> <vbox flex="1">
<html>&enter.label;</html> <html>&enter.label;</html>
<separator class="thin"/> <separator class="thin"/>
<hbox align="center"> <hbox align="center">
<text class="label" for="dialog.input"
value="&address.label;" accesskey="&address.accesskey;"/>
<textbox id="dialog.input" flex="1" type="autocomplete" <textbox id="dialog.input" flex="1" type="autocomplete"
searchSessions="history" timeout="50" maxrows="6" searchSessions="history" timeout="50" maxrows="6" oninput="doEnabling();">
oninput="doEnabling();">
<menupopup id="ubhist-popup" class="autocomplete-history-popup" <menupopup id="ubhist-popup" class="autocomplete-history-popup"
popupalign="topleft" popupanchor="bottomleft" popupalign="topleft" popupanchor="bottomleft"
onpopupshowing="createUBHistoryMenu(event.target);" onpopupshowing="createUBHistoryMenu(event.target);"
oncommand="useUBHistoryItem(event.target)"/> oncommand="useUBHistoryItem(event.target)"/>
</textbox> </textbox>
<button label="&chooseFile.label;" oncommand="onChooseFile();"/>
</hbox> </hbox>
<hbox align="center"> <separator class="thin"/>
<text class="label" value="&openWhere.label;"/> <hbox flex="1" autostretch="never">
<menulist id="openAppList"> <text class="label" accesskey="&openWhere.accesskey;"
<menupopup> for="openAppList" value="&openWhere.label;"/>
<menuitem value="0" id="currentWindow" label="&topWindow.label;"/> <radiogroup orient="vertical" id="openAppList">
<menuitem value="1" label="&newWindow.label;"/> <radio value="0" group="openAppList" id="currentWindow" label="&topWindow.label;"/>
<menuseparator/> <radio value="1" group="openAppList" label="&newWindow.label;"/>
<menuitem value="2" id="editWindow" label="&editNewWindow.label;"/> <radio value="2" group="openAppList" id="editWindow" label="&editNewWindow.label;"/>
</menupopup> </radiogroup>
</menulist>
<spring flex="1"/>
</hbox> </hbox>
</vbox> </vbox>
</hbox> </hbox>
<separator class="thin"/>
<separator/> <box valign="bottom" flex="1" autostretch="never">
<button label="&chooseFile.label;" accesskey="&chooseFile.accesskey;"
<hbox id="okCancelButtonsRight"/> oncommand="onChooseFile();"/>
<hbox flex="1" id="okCancelButtonsRight"/>
</box>
</window> </window>

View File

@ -1,11 +1,15 @@
<!-- extracted from content/openLocation.xul --> <!-- extracted from content/openLocation.xul -->
<!ENTITY enter.label "Enter the web location (URL), or specify the local file you would like to open:"> <!ENTITY enter.label "Enter the address (URL) of the Web page, file, or resource that you want to open.">
<!ENTITY chooseFile.label "Choose File..."> <!ENTITY chooseFile.label "Open File...">
<!ENTITY chooseFile.accesskey "O">
<!ENTITY address.label "Address:">
<!ENTITY address.accesskey "A">
<!ENTITY newWindow.label "New Navigator window"> <!ENTITY newWindow.label "New Navigator window">
<!ENTITY topWindow.label "Current Navigator window"> <!ENTITY topWindow.label "Current Navigator window">
<!ENTITY editNewWindow.label "New Composer window"> <!ENTITY editNewWindow.label "New Composer window for editing">
<!ENTITY cancel.label "Cancel"> <!ENTITY cancel.label "Cancel">
<!ENTITY caption.label "Open Web Location"> <!ENTITY caption.label "Open Address">
<!ENTITY openWhere.label "Open in:"> <!ENTITY openWhere.label "Open in:">
<!ENTITY openWhere.accesskey "i">
<!ENTITY example.label "Example: &vendorURL;"> <!ENTITY example.label "Example: &vendorURL;">