[pyatspi2] Fix setting currentValue



commit 6eb459796518363170738493423c36c78d1156f6
Author: Mike Gorse <mgorse novell com>
Date:   Wed May 26 20:27:24 2010 -0400

    Fix setting currentValue

 pyatspi/value.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/value.py b/pyatspi/value.py
index 534d9a2..a3e65a9 100644
--- a/pyatspi/value.py
+++ b/pyatspi/value.py
@@ -34,7 +34,7 @@ class Value(Accessible):
         def get_currentValue(self):
                 return dbus.Double(self._pgetter(ATSPI_VALUE, "CurrentValue"))
         def set_currentValue(self, value):
-                self._psetter(self._dbus_interface, "currentValue", dbus.Double(value, variant_level=1))
+                self._psetter(ATSPI_VALUE, "CurrentValue", dbus.Double(value, variant_level=1))
         _currentValueDoc = \
                 """
                 The current value of the valuator.



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