Skip to content

[bug 559] Add menu autocomplete #559#665

Merged
mattrose merged 2 commits intognome-terminator:masterfrom
vssdeo:559-Add-menu-autocomplete
Nov 19, 2022
Merged

[bug 559] Add menu autocomplete #559#665
mattrose merged 2 commits intognome-terminator:masterfrom
vssdeo:559-Add-menu-autocomplete

Conversation

@vssdeo
Copy link
Copy Markdown
Contributor

@vssdeo vssdeo commented Nov 1, 2022

- added a filter to the preferences menu for easy access to shortcuts
- may require some tweak, on search term size and update
Note: when edited in prefs it seems the Short Cut Labes in (right click) Context Menu are not updated will fix that in that bug Issue gnome-terminator#662
@vssdeo
Copy link
Copy Markdown
Contributor Author

vssdeo commented Nov 1, 2022

Looking into tests.

Follwing errors were being thrown:

FAILED tests/test_prefseditor_keybindings.py::test_keybinding_successfully_reassigned_after_clearing[accel_params0] - AttributeError: 'TreeModelFilter' object has no attribute 'set'

It seems earlier the Gtk.ListStore()  was directly being passed in the test cases. After the changes to the Preferences to add a search filter bar we had added a filter Gtk.TreeModelFilter and for the widget we were setting it:
        widget.set_model(self.treemodelfilter)

Now it seemed that instead of Gtk.ListStore() the object Gtk.TreeModelFilter was being received and since it did not have a "set" function the above error was thrown.

I have made changes so that the Gtk.ListStore() is taken from Gtk.TreeModelFilter via get_model function and this indirection is removed.
@mattrose
Copy link
Copy Markdown
Member

Thanks for all your work on this. I'm gonna see if I can open up the preferences window directly to the keybindings page, or create a new window on Ctrl-Shift-P that would have the same contents. This is actually the hard part though, so thank you!

@mattrose mattrose merged commit 1d5351e into gnome-terminator:master Nov 19, 2022
@vssdeo
Copy link
Copy Markdown
Contributor Author

vssdeo commented Nov 19, 2022

@mattrose you are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants