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

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

Issue 29357368: Issue 4525 - Filter Preferences: Move findbar to the top of the filters list (Closed) Base URL: https://hg.adblockplus.org/adblockplus
Patch Set: Created Oct. 14, 2016, 8:09 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <https://adblockplus.org/>, 4 - This file is part of Adblock Plus <https://adblockplus.org/>,
5 - Copyright (C) 2006-2016 Eyeo GmbH 5 - Copyright (C) 2006-2016 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 <menuseparator/> 337 <menuseparator/>
338 <menuitem label="&filter.moveUp.label;" key="moveUp-key" command="filt ers-moveUp-command"/> 338 <menuitem label="&filter.moveUp.label;" key="moveUp-key" command="filt ers-moveUp-command"/>
339 <menuitem label="&filter.moveDown.label;" key="moveDown-key" command=" filters-moveDown-command"/> 339 <menuitem label="&filter.moveDown.label;" key="moveDown-key" command=" filters-moveDown-command"/>
340 <menuseparator/> 340 <menuseparator/>
341 <menu id="viewMenu" label="&viewMenu.label;"/> 341 <menu id="viewMenu" label="&viewMenu.label;"/>
342 </menupopup> 342 </menupopup>
343 </button> 343 </button>
344 <button id="addFilterButton" label="&addFilter.label;" command="filters-ad d-command"/> 344 <button id="addFilterButton" label="&addFilter.label;" command="filters-ad d-command"/>
345 </hbox> 345 </hbox>
346 346
347 <hbox id="findbar" hidden="true" align="center" onkeypress="FilterSearch.key Press(event);">
348 <toolbarbutton id="findbar-closebutton" tooltiptext="&findbar.close;" onco mmand="FilterSearch.close();"/>
349 <textbox id="findbar-textbox" type="search" placeholder="&findbar.placehol der;" flex="1" oncommand="FilterSearch.search();"/>
350 <spinbuttons id="findbar-findAgain" onup="FilterSearch.search(-1);" ondown ="FilterSearch.search(1);"/>
351 <button id="findbar-case-sensitive" type="checkbox" label="&findbar.caseSe nsitive;" oncommand="FilterSearch.search(0);"/>
352 <stack>
353 <label id="findbar-status-wrappedStart" class="findbar-status" value="&f indbar.statusWrappedStart;"/>
354 <label id="findbar-status-wrappedEnd" class="findbar-status" value="&fin dbar.statusWrappedEnd;"/>
355 <label id="findbar-status-notFound" class="findbar-status" value="&findb ar.statusNotFound;"/>
356 </stack>
357 </hbox>
Wladimir Palant 2016/10/14 08:12:12 This block has been merely moved, no changes other
358
347 <tree id="filtersTree" 359 <tree id="filtersTree"
348 flex="1" 360 flex="1"
349 editable="true" 361 editable="true"
350 seltype="multiple" 362 seltype="multiple"
351 enableColumnDrag="true" 363 enableColumnDrag="true"
352 hidecolumnpicker="true" 364 hidecolumnpicker="true"
353 _removewarning="&filters.remove.warning;"> 365 _removewarning="&filters.remove.warning;">
354 <treecols context="filters-view-menu1"> 366 <treecols context="filters-view-menu1">
355 <treecol id="col-enabled" label="&enabled.column;" cycler="true" flex="0 " persist="width ordinal sortDirection hidden"/> 367 <treecol id="col-enabled" label="&enabled.column;" cycler="true" flex="0 " persist="width ordinal sortDirection hidden"/>
356 <splitter class="tree-splitter"/> 368 <splitter class="tree-splitter"/>
357 <treecol id="col-filter" label="&filter.column;" flex="10" persist="widt h ordinal sortDirection hidden"/> 369 <treecol id="col-filter" label="&filter.column;" flex="10" persist="widt h ordinal sortDirection hidden"/>
358 <splitter class="tree-splitter"/> 370 <splitter class="tree-splitter"/>
359 <treecol id="col-slow" label="!" display="&slow.column;" tooltiptext="&s low.column;" flex="0" width="16" persist="width ordinal sortDirection hidden"/> 371 <treecol id="col-slow" label="!" display="&slow.column;" tooltiptext="&s low.column;" flex="0" width="16" persist="width ordinal sortDirection hidden"/>
360 <splitter class="tree-splitter"/> 372 <splitter class="tree-splitter"/>
361 <treecol id="col-hitcount" label="&hitcount.column;" flex="0" persist="w idth ordinal sortDirection hidden"/> 373 <treecol id="col-hitcount" label="&hitcount.column;" flex="0" persist="w idth ordinal sortDirection hidden"/>
362 <splitter class="tree-splitter"/> 374 <splitter class="tree-splitter"/>
363 <treecol id="col-lasthit" label="&lasthit.column;" hidden="true" flex="4 " persist="width ordinal sortDirection hidden"/> 375 <treecol id="col-lasthit" label="&lasthit.column;" hidden="true" flex="4 " persist="width ordinal sortDirection hidden"/>
364 </treecols> 376 </treecols>
365 377
366 <treechildren id="filtersTreeChildren" 378 <treechildren id="filtersTreeChildren"
367 oncontextmenu="E('filterActionMenu').openPopupAtScreen(event.screenX, event.screenY, true);" 379 oncontextmenu="E('filterActionMenu').openPopupAtScreen(event.screenX, event.screenY, true);"
368 tooltip="filtersTooltip" 380 tooltip="filtersTooltip"
369 noGroupText="&noGroupSelected.text;" 381 noGroupText="&noGroupSelected.text;"
370 noFiltersText="&noFiltersInGroup.text;" 382 noFiltersText="&noFiltersInGroup.text;"
371 ondragstart="FilterActions.startDrag(event);" 383 ondragstart="FilterActions.startDrag(event);"
372 ondragend="FilterActions.endDrag(event);"/> 384 ondragend="FilterActions.endDrag(event);"/>
373 </tree> 385 </tree>
374
375 <hbox id="findbar" hidden="true" align="center" onkeypress="FilterSearch.key Press(event);">
376 <toolbarbutton id="findbar-closebutton" tooltiptext="&findbar.close;" onco mmand="FilterSearch.close();"/>
377 <textbox id="findbar-textbox" type="search" placeholder="&findbar.placehol der;" flex="1" oncommand="FilterSearch.search();"/>
378 <spinbuttons id="findbar-findAgain" onup="FilterSearch.search(-1);" ondown ="FilterSearch.search(1);"/>
379 <button id="findbar-case-sensitive" type="checkbox" label="&findbar.caseSe nsitive;" oncommand="FilterSearch.search(0);"/>
380 <stack>
381 <label id="findbar-status-wrappedStart" class="findbar-status" value="&f indbar.statusWrappedStart;"/>
382 <label id="findbar-status-wrappedEnd" class="findbar-status" value="&fin dbar.statusWrappedEnd;"/>
383 <label id="findbar-status-notFound" class="findbar-status" value="&findb ar.statusNotFound;"/>
384 </stack>
385 </hbox>
386 </vbox> 386 </vbox>
387 </hbox> 387 </hbox>
388 388
389 <hbox id="buttons"> 389 <hbox id="buttons">
390 <button id="backupButton" type="menu" 390 <button id="backupButton" type="menu"
391 label="&backupButton.label;" 391 label="&backupButton.label;"
392 _backupDialogTitle="&backup.label;" _restoreDialogTitle="&restore.own.labe l;" 392 _backupDialogTitle="&backup.label;" _restoreDialogTitle="&restore.own.labe l;"
393 _fileFilterComplete="&backup.complete.title;" _fileFilterCustom="&backup.c ustom.title;" 393 _fileFilterComplete="&backup.complete.title;" _fileFilterCustom="&backup.c ustom.title;"
394 _backupError="&backup.error;" _restoreError="&restore.error;" 394 _backupError="&backup.error;" _restoreError="&restore.error;"
395 _restoreCompleteWarning="&restore.complete.warning;" _restoreCustomWarning ="&restore.custom.warning;" 395 _restoreCompleteWarning="&restore.complete.warning;" _restoreCustomWarning ="&restore.custom.warning;"
396 _restoreVersionWarning="&restore.minVersion.warning;" 396 _restoreVersionWarning="&restore.minVersion.warning;"
397 oncommand="if (event.target == this) Utils.runAsync(() => this.open = true );"> 397 oncommand="if (event.target == this) Utils.runAsync(() => this.open = true );">
398 <menupopup onpopupshowing="Backup.fillRestorePopup();"> 398 <menupopup onpopupshowing="Backup.fillRestorePopup();">
399 <menuitem id="backup" key="backup-key" label="&backup.label;…" oncommand=" Backup.backupToFile();"/> 399 <menuitem id="backup" key="backup-key" label="&backup.label;…" oncommand=" Backup.backupToFile();"/>
400 <menuseparator/> 400 <menuseparator/>
401 <menuitem id="restoreBackupTemplate" label="&restore.default.label;" hidde n="true"/> 401 <menuitem id="restoreBackupTemplate" label="&restore.default.label;" hidde n="true"/>
402 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/> 402 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/>
403 </menupopup> 403 </menupopup>
404 </button> 404 </button>
405 405
406 <spacer flex="1"/> 406 <spacer flex="1"/>
407 407
408 <button id="close" dlgtype="accept" label="&close.label;"/> 408 <button id="close" dlgtype="accept" label="&close.label;"/>
409 </hbox> 409 </hbox>
410 410
411 </dialog> 411 </dialog>
OLDNEW
« no previous file with comments | « no previous file | chrome/content/ui/filters-filterview.js » ('j') | chrome/content/ui/filters-filterview.js » ('J')

Powered by Google App Engine
This is Rietveld