orca r3508 - in trunk: . src/orca src/orca/scripts
- From: wwalker svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3508 - in trunk: . src/orca src/orca/scripts
- Date: Mon, 28 Jan 2008 15:38:41 +0000 (GMT)
Author: wwalker
Date: Mon Jan 28 15:38:41 2008
New Revision: 3508
URL: http://svn.gnome.org/viewvc/orca?rev=3508&view=rev
Log:
Fix pylint issues.
Modified:
trunk/ChangeLog
trunk/src/orca/default.py
trunk/src/orca/scripts/Evolution.py
Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py (original)
+++ trunk/src/orca/default.py Mon Jan 28 15:38:41 2008
@@ -6371,11 +6371,13 @@
state_change_notifiers = {}
state_change_notifiers[pyatspi.ROLE_CHECK_MENU_ITEM] = ("checked", None)
-state_change_notifiers[pyatspi.ROLE_CHECK_BOX] = ("checked", "indeterminate",
- None)
+state_change_notifiers[pyatspi.ROLE_CHECK_BOX] = ("checked",
+ "indeterminate",
+ None)
state_change_notifiers[pyatspi.ROLE_PANEL] = ("showing", None)
state_change_notifiers[pyatspi.ROLE_LABEL] = ("showing", None)
state_change_notifiers[pyatspi.ROLE_TOGGLE_BUTTON] = ("checked", None)
-state_change_notifiers[pyatspi.ROLE_TABLE_CELL] = ("checked", "expanded",
+state_change_notifiers[pyatspi.ROLE_TABLE_CELL] = ("checked",
+ "expanded",
None)
state_change_notifiers[pyatspi.ROLE_LIST_ITEM] = ("expanded", None)
Modified: trunk/src/orca/scripts/Evolution.py
==============================================================================
--- trunk/src/orca/scripts/Evolution.py (original)
+++ trunk/src/orca/scripts/Evolution.py Mon Jan 28 15:38:41 2008
@@ -259,10 +259,10 @@
# token of the last utterances is "0", then strip off that last
# utterance ("0 items"). See bug #432308 for more details.
#
- self.rolesList = [pyatspi.ROLE_TABLE_CELL, \
- pyatspi.ROLE_TREE_TABLE, \
- pyatspi.ROLE_UNKNOWN]
- if self._script.isDesiredFocusedItem(obj, self.rolesList):
+ rolesList = [pyatspi.ROLE_TABLE_CELL, \
+ pyatspi.ROLE_TREE_TABLE, \
+ pyatspi.ROLE_UNKNOWN]
+ if self._script.isDesiredFocusedItem(obj, rolesList):
state = obj.getState()
if state and state.contains(pyatspi.STATE_EXPANDABLE):
if state.contains(pyatspi.STATE_EXPANDED):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]