file gui/drawwindow.py , line 334 :

        elif d == gdk.SCROLL_LEFT:
            self.app.doc.rotate('RotateRight')
        elif d == gdk.SCROLL_LEFT:
            self.app.doc.rotate('RotateLeft')


I guess that's a typo more than a bug . The first one should read
gdk.SCROLL_RIGHT, right?
From 7c28abb87c2334ecacd9c82051c24372e02a8ccf Mon Sep 17 00:00:00 2001
From: Vasilis Platanias <[email protected]>
Date: Mon, 11 Oct 2010 22:05:23 +0300
Subject: [PATCH] Typo with right rotation triggered by scroll_left.

---
 gui/drawwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gui/drawwindow.py b/gui/drawwindow.py
index 135b009..b762d90 100644
--- a/gui/drawwindow.py
+++ b/gui/drawwindow.py
@@ -331,7 +331,7 @@ class Window(windowing.MainWindow):
                 self.app.doc.rotate('RotateRight')
             else:
                 self.app.doc.zoom('ZoomOut')
-        elif d == gdk.SCROLL_LEFT:
+        elif d == gdk.SCROLL_RIGHT:
             self.app.doc.rotate('RotateRight')
         elif d == gdk.SCROLL_LEFT:
             self.app.doc.rotate('RotateLeft')
-- 
1.7.1

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to