MessageHistoryLength=3\r
\r
def chooseNVDAObjectOverlayClasses(self, obj, clsList):\r
+ if obj.role == controlTypes.ROLE_WINDOW: \r
+ return\r
windowClass = obj.windowClassName\r
if windowClass == "CListControl":\r
try:\r
def _get_role(self):\r
return controlTypes.ROLE_BUTTON\r
\r
- def doDefaultAction(self):\r
+ def getActionName(self):\r
+ if controlTypes.STATE_FOCUSED not in self.states:\r
+ return\r
+ return "Click"\r
+\r
+ def doAction(self):\r
+ if controlTypes.STATE_FOCUSED not in self.states:\r
+ return\r
KeyboardInputGesture.fromName("space").send()\r
\r
def script_doDefaultAction(self,gesture):\r
- self.doDefaultAction()\r
+ self.doAction()\r
\r
def initOverlayClass(self):\r
- self.bindGesture("enter", "doDefaultAction")\r
+ self.bindGesture("kb:enter", "doDefaultAction")\r
\r
class mirandaIMHyperlink(mirandaIMButton):\r
\r