summaryrefslogtreecommitdiff
path: root/libre/mcomix-libre/zoom.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 12:45:40 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 12:45:40 -0300
commit27cd560baa49d7eb685a5789cb915c5cdbdaf305 (patch)
tree03f7fdcdfa62b05dd9793f2809c20d6357c991c0 /libre/mcomix-libre/zoom.patch
parent88e1da204a82b0e8c0fa1a9e42ecd1b86a08eab8 (diff)
parentc86852f13787f259167b1df6d3762ef78980cad3 (diff)
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'libre/mcomix-libre/zoom.patch')
-rw-r--r--libre/mcomix-libre/zoom.patch17
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'],