Add Ctrl-F6 as tertiary next.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
brian m. carlson 2012-07-11 00:16:25 +00:00
parent 03cdc5d974
commit e3ea2eb1dd
No known key found for this signature in database
GPG key ID: BF535D811F52F68B

7
newfol
View file

@ -42,6 +42,7 @@ class KeyboardShortcuts(dict):
self["f4"] = "search"
self["f5"] = "next"
self["f6"] = "next-secondary"
self["ctrl f6"] = "next-tertiary"
self["f7"] = "menu"
self["ctrl f5"] = "invert-selection"
self["shift ctrl b"] = "browse-all"
@ -361,7 +362,7 @@ class AboutView(StandardView):
self.loop = loop
shortcuts = tuple(map(lambda x: DatabaseData().keys.shortcut(x),
["quit", "previous", "sync-database", "add", "search", "next",
"next-secondary", "menu", "about", "browse"]))
"next-secondary", "next-tertiary", "menu", "about", "browse"]))
try:
recver = DatabaseData().records[0].version()
except IndexError:
@ -372,8 +373,10 @@ class AboutView(StandardView):
tuple(shortcuts[0:3]),
"%s: add record, %s: search, %s: next, %s: secondary next," %
tuple(shortcuts[3:7]),
"%s: menu, %s: this screen, %s: browse by database" %
"%s: tertiary next, %s: menu, %s: this screen," %
tuple(shortcuts[7:10]),
"%s: browse by database" %
tuple(shortcuts[10:]),
"",
" ".join([
self._display_option("exe_ok", DatabaseData().schemata.exe_ok),