From be4ec6531c1c3b7b7b5b93216e56bdb9bfbd12ff Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 11 Mar 2014 03:20:09 -0300 Subject: mcomix-libre-1.00-6: fix zoom in, zoom out keyboard shortcuts --- libre/mcomix-libre/zoom.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libre/mcomix-libre/zoom.patch (limited to 'libre/mcomix-libre/zoom.patch') 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'], -- cgit v1.2.3