diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-03-11 03:20:09 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-03-11 03:20:09 -0300 |
commit | be4ec6531c1c3b7b7b5b93216e56bdb9bfbd12ff (patch) | |
tree | 13ef786f071c32f39ef44c497ac478e47a8ff4b2 /libre/mcomix-libre/zoom.patch | |
parent | 6d136589e87443daad85f0901d823bcd319d1642 (diff) |
mcomix-libre-1.00-6: fix zoom in, zoom out keyboard shortcuts
Diffstat (limited to 'libre/mcomix-libre/zoom.patch')
-rw-r--r-- | libre/mcomix-libre/zoom.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/mcomix-libre/zoom.patch b/libre/mcomix-libre/zoom.patch new file mode 100644 index 000000000..26dc3ba6f --- /dev/null +++ b/libre/mcomix-libre/zoom.patch @@ -0,0 +1,17 @@ +diff --git a/mcomix-1.00/mcomix/event.py b/mcomix-1.00-mod/mcomix/event.py +index bc8cf79..bf80ec2 100644 +--- a/mcomix/event.py ++++ b/mcomix/event.py +@@ -117,8 +117,11 @@ class EventHandler: + + # Zooming commands for manual zoom mode + manager.register('zoom in', +- ['equal'], ++ ['plus', 'KP_Add', 'equal'], + self._window.actiongroup.get_action('zoom_in').activate) ++ manager.register('zoom out', ++ ['minus', 'KP_Subtract'], ++ self._window.actiongroup.get_action('zoom_out').activate) + # Zoom out is already defined as GTK menu hotkey + manager.register('zoom original', + ['KP_0'], |