diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2017-08-18 16:22:31 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-09-04 22:39:46 +0200 |
commit | 0114ef64fc357a0faa8b32cb1e79c0ed789d0de4 (patch) | |
tree | 8a213e35cac2c0606bfc4af16022be11bab692af /cui/uiconfig/ui/menuassignpage.ui | |
parent | 60d622d807f4f3bcc8a699458adf5d6690f9dc4b (diff) |
Implement Search/Filter feature in the Customize dialog
Now commands in the list (left box) are filtered/updated
in the Menu, Context Menu, and the Toolbar tabs as you type.
Instead of filling the box, and then removing non-matching
items (as in the current search feature in the keyboard tab),
we filter out items during the Fill process, and don't add them
to the sequence att all. This should give a performance boost
to the filter operations.
Change-Id: I473596a2c897f1cd96a7d55fd3ab11ee3db39863
Reviewed-on: https://gerrit.libreoffice.org/41321
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/uiconfig/ui/menuassignpage.ui')
-rw-r--r-- | cui/uiconfig/ui/menuassignpage.ui | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/uiconfig/ui/menuassignpage.ui b/cui/uiconfig/ui/menuassignpage.ui index 3eb6837c6992..9ad40abc03c9 100644 --- a/cui/uiconfig/ui/menuassignpage.ui +++ b/cui/uiconfig/ui/menuassignpage.ui @@ -487,10 +487,11 @@ </packing> </child> <child> - <object class="GtkEntry"> + <object class="GtkEntry" id="searchEntry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="margin_bottom">5</property> + <property name="placeholder_text" translatable="yes">Type to search</property> </object> <packing> <property name="left_attach">1</property> |