diff options
Diffstat (limited to 'voctogui/lib/videopreviews.py')
-rw-r--r-- | voctogui/lib/videopreviews.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/voctogui/lib/videopreviews.py b/voctogui/lib/videopreviews.py index fe41aea..3490a4d 100644 --- a/voctogui/lib/videopreviews.py +++ b/voctogui/lib/videopreviews.py @@ -87,6 +87,9 @@ class VideoPreviewsController(object): btn_fullscreen.connect('clicked', self.btn_fullscreen_clicked) + key, mod = Gtk.accelerator_parse('<Alt>%u' % (idx+1)) + btn_fullscreen.add_accelerator('activate', accelerators, key, mod, Gtk.AccelFlags.VISIBLE) + self.preview_players[source] = player self.previews[source] = preview self.a_btns[source] = btn_a |