dogtail r374 - in trunk: . dogtail



Author: zcerza
Date: Tue Jan 15 21:17:22 2008
New Revision: 374
URL: http://svn.gnome.org/viewvc/dogtail?rev=374&view=rev

Log:
* dogtail/tree.py: Change Node.valueMin and valueMax to Node.minValue
and maxValue; add minValueIncrement.


Modified:
   trunk/ChangeLog
   trunk/dogtail/tree.py

Modified: trunk/dogtail/tree.py
==============================================================================
--- trunk/dogtail/tree.py	(original)
+++ trunk/dogtail/tree.py	Tue Jan 15 21:17:22 2008
@@ -520,15 +520,20 @@
 
     value = property(_getValue, _setValue)
 
-    def _getValueMin(self):
+    def _getMinValue(self):
         try: return self.queryValue().getMinimumValue()
         except NotImplementedError: pass
-    valueMin = property(_getValueMin)
+    minValue = property(_getMinValue)
 
-    def _getValueMax(self):
+    def _getMinValueIncrement(self):
+        try: return self.queryValue().getMinimumIncrement
+        except NotImplementedError: pass
+    minValueIncrement = property(_getMinValueIncrement)
+
+    def _getMaxValue(self):
         try: return self.queryValue().getMaximumValue()
         except NotImplementedError: pass
-    valueMax = property(_getValueMax)
+    maxValue = property(_getMaxValue)
 
     def typeText(self, string):
         """



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]