Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/options.xul

Issue 8382011: Applied changes from emailed code review (Closed)
Patch Set: Created Sept. 28, 2012, 1:40 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/content/options.js ('k') | chrome/content/survey.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 - License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 - You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 - You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 6
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://url-fixer/skin/options.css" type="text/css"?> 8 <?xml-stylesheet href="chrome://url-fixer/skin/options.css" type="text/css"?>
9 <!DOCTYPE prefwindow SYSTEM "chrome://url-fixer/locale/options.dtd"> 9 <!DOCTYPE prefwindow SYSTEM "chrome://url-fixer/locale/options.dtd">
10 <dialog 10 <dialog
(...skipping 18 matching lines...) Expand all
29 <tabpanel orient="vertical"> 29 <tabpanel orient="vertical">
30 <listbox id="whitelist" flex="1" seltype="multiple" onselect="onItemSe lected(this);" _removeButton="whitelist_remove-button" _emptyLabel="&urlfixer.op tions.whitelistEmptyLabel;"> 30 <listbox id="whitelist" flex="1" seltype="multiple" onselect="onItemSe lected(this);" _removeButton="whitelist_remove-button" _emptyLabel="&urlfixer.op tions.whitelistEmptyLabel;">
31 <listhead> 31 <listhead>
32 <listheader label="&urlfixer.options.whitelistLabel;"/> 32 <listheader label="&urlfixer.options.whitelistLabel;"/>
33 </listhead> 33 </listhead>
34 <listcols> 34 <listcols>
35 <listcol flex="1" /> 35 <listcol flex="1" />
36 </listcols> 36 </listcols>
37 </listbox> 37 </listbox>
38 <hbox> 38 <hbox>
39 <button flex="1" label="&urlfixer.options.removeButtonLabel;" onclic k="removeRule(this);" disabled="true" id="whitelist_remove-button" _list="whitel ist" /> 39 <button flex="1" label="&urlfixer.options.removeButtonLabel;" onclic k="removeRule(this,'whitelist');" disabled="true" id="whitelist_remove-button" _ list="whitelist" />
40 </hbox> 40 </hbox>
41 </tabpanel> 41 </tabpanel>
42 <tabpanel orient="vertical"> 42 <tabpanel orient="vertical">
43 <hbox> 43 <hbox>
44 <textbox id="find" flex="1" oninput="onFindChange();" onkeypress="if (event.keyCode == 13) { addRule();event.preventDefault(); }" /> 44 <textbox id="find" flex="1" oninput="onFindChange();" onkeypress="if (event.keyCode == 13) { addRule();event.preventDefault(); }" />
45 <textbox id="replace" flex="1" onkeypress="if (event.keyCode == 13) { addRule();event.preventDefault(); }" /> 45 <textbox id="replace" flex="1" onkeypress="if (event.keyCode == 13) { addRule();event.preventDefault(); }" />
46 </hbox> 46 </hbox>
47 <hbox> 47 <hbox>
48 <button flex="1" label="&urlfixer.options.addButtonLabel;" oncommand ="addRule();" id="add-button" disabled="true" /> 48 <button flex="1" label="&urlfixer.options.addButtonLabel;" oncommand ="addRule();" id="add-button" disabled="true" />
49 </hbox> 49 </hbox>
50 <description>&urlfixer.options.regularExpressionExplanation;</descript ion> 50 <description id="custom_corrections-explanation">&urlfixer.options.reg ularExpressionExplanation;</description>
51 <listbox id="custom_corrections" flex="1" seltype="multiple" onselect= "onItemSelected(this);" _removeButton="custom_corrections_remove-button" _emptyL abel="&urlfixer.options.findAndReplaceEmptyLabel;"> 51 <listbox id="custom_corrections" flex="1" seltype="multiple" onselect= "onItemSelected(this);" _removeButton="custom_corrections_remove-button" _emptyL abel="&urlfixer.options.findAndReplaceEmptyLabel;">
52 <listhead> 52 <listhead>
53 <listheader label="&urlfixer.options.findLabel;"/> 53 <listheader label="&urlfixer.options.findLabel;"/>
54 <listheader label="&urlfixer.options.replaceLabel;"/> 54 <listheader label="&urlfixer.options.replaceLabel;"/>
55 </listhead> 55 </listhead>
56 <listcols> 56 <listcols>
57 <listcol flex="1" /> 57 <listcol flex="1" />
58 <listcol flex="1" /> 58 <listcol flex="1" />
59 </listcols> 59 </listcols>
60 </listbox> 60 </listbox>
61 <hbox> 61 <hbox>
62 <button flex="1" label="&urlfixer.options.removeButtonLabel;" onclic k="removeRule(this);" disabled="true" id="custom_corrections_remove-button" _lis t="custom_corrections" /> 62 <button flex="1" label="&urlfixer.options.removeButtonLabel;" onclic k="removeRule(this,'custom_replace');" disabled="true" id="custom_corrections_re move-button" _list="custom_corrections" />
63 </hbox> 63 </hbox>
64 </tabpanel> 64 </tabpanel>
65 </tabpanels> 65 </tabpanels>
66 </tabbox> 66 </tabbox>
67 </groupbox> 67 </groupbox>
68 </dialog> 68 </dialog>
OLDNEW
« no previous file with comments | « chrome/content/options.js ('k') | chrome/content/survey.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld