diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-02-28 15:10:39 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-02-28 15:10:39 +0100 |
commit | cb42a9ad193179c527b44eccd3ca3ac59d573386 (patch) | |
tree | 8967af004209c8d7f159e45e5807979c7ca5953f /voctogui/lib | |
parent | 6ce57b47f050c39fbf28f4af639ef19608a74cfa (diff) |
Add composition Matrix Two-by-two.
Diffstat (limited to 'voctogui/lib')
-rw-r--r-- | voctogui/lib/shortcuts.py | 3 | ||||
-rw-r--r-- | voctogui/lib/toolbar/composition.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/voctogui/lib/shortcuts.py b/voctogui/lib/shortcuts.py index d5fbc91..5ad2bbf 100644 --- a/voctogui/lib/shortcuts.py +++ b/voctogui/lib/shortcuts.py @@ -25,7 +25,8 @@ if hasattr(Gtk, "ShortcutsWindow"): for accel, desc in [("F1", "Select fullscreen mode"), ("F2", "Select Picture in Picture mode"), ("F3", "Select Side-by-Side Equal mode"), - ("F4", "Select Side-by-Side Preview mode")]: + ("F4", "Select Side-by-Side Preview mode"), + ("F5", "Select Matrix Two-by-two mode")]: short = Gtk.ShortcutsShortcut(title=desc, accelerator=accel) short.show() compose_group.add(short) diff --git a/voctogui/lib/toolbar/composition.py b/voctogui/lib/toolbar/composition.py index b55254a..3cf5797 100644 --- a/voctogui/lib/toolbar/composition.py +++ b/voctogui/lib/toolbar/composition.py @@ -17,7 +17,8 @@ class CompositionToolbarController(object): 'fullscreen', 'picture_in_picture', 'side_by_side_equal', - 'side_by_side_preview' + 'side_by_side_preview', + 'matrix_two_by_two' ] self.composite_btns = {} |