From e3ea2eb1dd5dd6df351d64dcaa2c2da7efe345ff Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Wed, 11 Jul 2012 00:16:25 +0000 Subject: [PATCH] Add Ctrl-F6 as tertiary next. Signed-off-by: brian m. carlson --- newfol | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/newfol b/newfol index 98636ab..dcc2eb3 100755 --- a/newfol +++ b/newfol @@ -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),