[Skencil-commits] r527 - in skencil/trunk: . Sketch/Editor

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Mar 4 21:49:36 CET 2006


Author: bh
Date: 2006-03-04 21:49:36 +0100 (Sat, 04 Mar 2006)
New Revision: 527

Modified:
   skencil/trunk/ChangeLog
   skencil/trunk/Sketch/Editor/doceditor.py
Log:
* Sketch/Editor/doceditor.py (EditorWithSelection.ButtonClick):
Clarify the meaning of the state parameter a bit.


Modified: skencil/trunk/ChangeLog
===================================================================
--- skencil/trunk/ChangeLog	2006-03-04 20:45:16 UTC (rev 526)
+++ skencil/trunk/ChangeLog	2006-03-04 20:49:36 UTC (rev 527)
@@ -1,3 +1,8 @@
+2006-03-04  Bernhard Herzog  <bh at intevation.de>
+
+	* Sketch/Editor/doceditor.py (EditorWithSelection.ButtonClick):
+	Clarify the meaning of the state parameter a bit.
+
 2006-02-26  Bernhard Herzog  <bh at intevation.de>
 
 	* Sketch/Editor/tools.py (ZoomToolInstance.ButtonRelease): Handle

Modified: skencil/trunk/Sketch/Editor/doceditor.py
===================================================================
--- skencil/trunk/Sketch/Editor/doceditor.py	2006-03-04 20:45:16 UTC (rev 526)
+++ skencil/trunk/Sketch/Editor/doceditor.py	2006-03-04 20:49:36 UTC (rev 527)
@@ -609,7 +609,8 @@
             button -- Which button: 1 = left, 2 = middle, 3 = right
 
             state -- Bitmask describing which mouse buttons are down and
-                     the state of the modifier keys
+                     the state of the modifier keys when the button was
+                     released.
 
         Snap the point according to whatever snapping is active then
         call the tool's ButtonClick method with both p and the snapped



More information about the Skencil-commits mailing list