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

Side by Side Diff: chrome/content/ui/filters.xul

Issue 11027049: Removed typo correction feature (Closed)
Patch Set: Created June 27, 2013, 4:35 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/ui/filters.js ('k') | chrome/content/ui/firstRun.html » ('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 <!-- 3 <!--
4 - This file is part of Adblock Plus <http://adblockplus.org/>, 4 - This file is part of Adblock Plus <http://adblockplus.org/>,
5 - Copyright (C) 2006-2013 Eyeo GmbH 5 - Copyright (C) 2006-2013 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 23 matching lines...) Expand all
34 windowtype="abp:filters"> 34 windowtype="abp:filters">
35 35
36 <script type="application/x-javascript;version=1.7" src="utils.js"/> 36 <script type="application/x-javascript;version=1.7" src="utils.js"/>
37 <script type="application/x-javascript;version=1.7" src="filters.js"/> 37 <script type="application/x-javascript;version=1.7" src="filters.js"/>
38 <script type="application/x-javascript;version=1.7" src="filters-subscriptionvie w.js"/> 38 <script type="application/x-javascript;version=1.7" src="filters-subscriptionvie w.js"/>
39 <script type="application/x-javascript;version=1.7" src="filters-subscriptionact ions.js"/> 39 <script type="application/x-javascript;version=1.7" src="filters-subscriptionact ions.js"/>
40 <script type="application/x-javascript;version=1.7" src="filters-filterview.js"/ > 40 <script type="application/x-javascript;version=1.7" src="filters-filterview.js"/ >
41 <script type="application/x-javascript;version=1.7" src="filters-filteractions.j s"/> 41 <script type="application/x-javascript;version=1.7" src="filters-filteractions.j s"/>
42 <script type="application/x-javascript;version=1.7" src="filters-backup.js"/> 42 <script type="application/x-javascript;version=1.7" src="filters-backup.js"/>
43 <script type="application/x-javascript;version=1.7" src="filters-search.js"/> 43 <script type="application/x-javascript;version=1.7" src="filters-search.js"/>
44 <script type="application/x-javascript;version=1.7" src="typoSettings.js"/>
45 44
46 <keyset id="filtersKeyset"> 45 <keyset id="filtersKeyset">
47 <key id="subscription-update-key" key="T" modifiers="accel" command="subscript ion-update-command"/> 46 <key id="subscription-update-key" key="T" modifiers="accel" command="subscript ion-update-command"/>
48 <key id="subscription-update-all-key" key="T" modifiers="accel,shift" command= "subscription-update-all-command"/> 47 <key id="subscription-update-all-key" key="T" modifiers="accel,shift" command= "subscription-update-all-command"/>
49 <key id="edit-key" keycode="VK_F2" oncommand="E(FilterActions.focused ? 'filte rs-edit-command' : 'subscription-editTitle-command').doCommand();"/> 48 <key id="edit-key" keycode="VK_F2" oncommand="E(FilterActions.focused ? 'filte rs-edit-command' : 'subscription-editTitle-command').doCommand();"/>
50 <key id="delete-key" keycode="VK_DELETE" oncommand="E(FilterActions.focused ? 'filters-delete-command' : 'subscription-delete-command').doCommand();"/> 49 <key id="delete-key" keycode="VK_DELETE" oncommand="E(FilterActions.focused ? 'filters-delete-command' : 'subscription-delete-command').doCommand();"/>
51 <key id="subscription-showHideFilters-key" key="R" modifiers="accel" command=" subscription-showHideFilters-command"/> 50 <key id="subscription-showHideFilters-key" key="R" modifiers="accel" command=" subscription-showHideFilters-command"/>
52 <key id="moveUp-key" keycode="VK_UP" modifiers="accel"/> 51 <key id="moveUp-key" keycode="VK_UP" modifiers="accel"/>
53 <key id="moveDown-key" keycode="VK_DOWN" modifiers="accel"/> 52 <key id="moveDown-key" keycode="VK_DOWN" modifiers="accel"/>
54 <key id="filters-add-key" keycode="VK_INSERT" oncommand="E('filters-add-comman d').doCommand();"/> 53 <key id="filters-add-key" keycode="VK_INSERT" oncommand="E('filters-add-comman d').doCommand();"/>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 137
139 <description id="tooltip-additional"/> 138 <description id="tooltip-additional"/>
140 </tooltip> 139 </tooltip>
141 </popupset> 140 </popupset>
142 141
143 <hbox id="content" flex="1"> 142 <hbox id="content" flex="1">
144 <tabbox id="tabs" flex="1" persist="selectedIndex"> 143 <tabbox id="tabs" flex="1" persist="selectedIndex">
145 <tabs onselect="onTabChange(this.parentNode);"> 144 <tabs onselect="onTabChange(this.parentNode);">
146 <tab label="&subscriptions.tab.label;"/> 145 <tab label="&subscriptions.tab.label;"/>
147 <tab label="&filters.tab.label;"/> 146 <tab label="&filters.tab.label;"/>
148 <tab label="&typoCorrections.tab.label;"/>
149 </tabs> 147 </tabs>
150 <tabpanels flex="1"> 148 <tabpanels flex="1">
151 <tabpanel id="subscriptionsTab" orient="vertical" flex="1"> 149 <tabpanel id="subscriptionsTab" orient="vertical" flex="1">
152 <hbox pack="end"> 150 <hbox pack="end">
153 <button id="selectSubscriptionButton" label="&addSubscription.label;…" accesskey="&addSubscription.accesskey;" command="subscription-add-command"/> 151 <button id="selectSubscriptionButton" label="&addSubscription.label;…" accesskey="&addSubscription.accesskey;" command="subscription-add-command"/>
154 </hbox> 152 </hbox>
155 153
156 <panel id="selectSubscriptionPanel" type="arrow" position="bottomcenter topleft" 154 <panel id="selectSubscriptionPanel" type="arrow" position="bottomcenter topleft"
157 orient="vertical" onkeypress="SelectSubscription.keyPress(event); "> 155 orient="vertical" onkeypress="SelectSubscription.keyPress(event); ">
158 <menuitem id="selectSubscriptionTemplate" hidden="true" 156 <menuitem id="selectSubscriptionTemplate" hidden="true"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 <deck id="noFiltersDeck" flex="1"> 307 <deck id="noFiltersDeck" flex="1">
310 <description flex="1">&noFilters.text;</description> 308 <description flex="1">&noFilters.text;</description>
311 <richlistbox id="groups" class="initialFocus" flex="1" 309 <richlistbox id="groups" class="initialFocus" flex="1"
312 onselect="onSelectionChange(this);" 310 onselect="onSelectionChange(this);"
313 ondragover="SubscriptionActions.dragOver(event);" 311 ondragover="SubscriptionActions.dragOver(event);"
314 ondrop="SubscriptionActions.drop(event, null);" 312 ondrop="SubscriptionActions.drop(event, null);"
315 onkeypress="SubscriptionActions.keyPress(event);"> 313 onkeypress="SubscriptionActions.keyPress(event);">
316 </richlistbox> 314 </richlistbox>
317 </deck> 315 </deck>
318 </tabpanel> 316 </tabpanel>
319 <tabpanel id="typoCorrectionsTab" orient="vertical" flex="1">
320 <checkbox id="typo_enable" label="&typoCorrections.enableLabel;" oncomma nd="TypoActions.setEnabled(this.checked)"/>
321 <groupbox id="typo_whitelist_container" flex="1">
322 <listbox id="typo_whitelist" class="initialFocus" flex="1" seltype="mu ltiple" onselect="TypoActions.onItemSelected(this);" _removeButton="typo_whiteli st_remove-button" _emptyLabel="&typoCorrections.whitelistEmptyLabel;">
323 <listhead>
324 <listheader label="&typoCorrections.whitelistLabel;"/>
325 </listhead>
326 <listcols>
327 <listcol flex="1" />
328 </listcols>
329 </listbox>
330 <hbox align="right">
331 <button label="&typoCorrections.removeButtonLabel;" onclick="TypoAct ions.removeRule(this, 'whitelist');" disabled="true" id="typo_whitelist_remove-b utton" _list="typo_whitelist" />
332 </hbox>
333 </groupbox>
334 </tabpanel>
335 </tabpanels> 317 </tabpanels>
336 </tabbox> 318 </tabbox>
337 319
338 <splitter id="filtersSplitter" persist="state" orient="horizontal" collapse="a fter" state="collapsed" oncommand="FilterView.refresh();onSplitterStateChange(th is);"> 320 <splitter id="filtersSplitter" persist="state" orient="horizontal" collapse="a fter" state="collapsed" oncommand="FilterView.refresh();onSplitterStateChange(th is);">
339 <grippy id="filtersGrippy"/> 321 <grippy id="filtersGrippy"/>
340 </splitter> 322 </splitter>
341 323
342 <vbox id="filtersContainer" persist="width height" width="500"> 324 <vbox id="filtersContainer" persist="width height" width="500">
343 <hbox pack="end"> 325 <hbox pack="end">
344 <button id="findButton" label="&find.label;" accesskey="&find.accesskey;" command="find-command"/> 326 <button id="findButton" label="&find.label;" accesskey="&find.accesskey;" command="find-command"/>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/> 391 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/>
410 </menupopup> 392 </menupopup>
411 </button> 393 </button>
412 394
413 <spacer flex="1"/> 395 <spacer flex="1"/>
414 396
415 <button id="close" dlgtype="accept" label="&close.label;"/> 397 <button id="close" dlgtype="accept" label="&close.label;"/>
416 </hbox> 398 </hbox>
417 399
418 </dialog> 400 </dialog>
OLDNEW
« no previous file with comments | « chrome/content/ui/filters.js ('k') | chrome/content/ui/firstRun.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld