summaryrefslogtreecommitdiff
path: root/libre/mcomix/zoom.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mcomix/zoom.patch')
-rw-r--r--libre/mcomix/zoom.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/mcomix/zoom.patch b/libre/mcomix/zoom.patch
new file mode 100644
index 000000000..26dc3ba6f
--- /dev/null
+++ b/libre/mcomix/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'],