Use tab key for tab navigation

issue8070
review49771002
This commit is contained in:
Cédric Krier committed 2019-02-13 10:46:27 +01:00
1 parent 39a3b4bf00
commit 358be93e23
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
* Use tab key for tab navigation
* Use ShortcutsWindow
* Improve default size of widgets and dialog
* Use record and field properties of widget instead of method arguments
+2 -2
View File
@@ -91,12 +91,12 @@ class Main(Gtk.Application):
action = Gio.SimpleAction.new('tab-previous', None)
action.connect('activate', lambda *a: self.win_prev())
self.add_action(action)
self.add_accelerator('<Primary>Left', 'app.tab-previous')
self.add_accelerator('<Primary><Shift>Tab', 'app.tab-previous')
action = Gio.SimpleAction.new('tab-next', None)
action.connect('activate', lambda *a: self.win_next())
self.add_action(action)
self.add_accelerator('<Primary>Right', 'app.tab-next')
self.add_accelerator('<Primary>Tab', 'app.tab-next')
action = Gio.SimpleAction.new('search-limit', None)
action.connect('activate', lambda *a: self.edit_limit())