> + def _click_on_panel_action(self, swipe_direction, action_object):
> 101 + self._swipe_content(swipe_direction)
> 102 + try:
> 103 + button_name = 'actionbutton_' + action_object
> 104 + action_button =
> self.select_single(objectName=button_name)
> 105 + except dbus.StateNotFound:
> 106 + raise _common.ToolkitException(
> 107 + 'The requested action not found on leading side')
>
>
> the exception text is incorrect, swipe direction may be 'left', then you are
> looking for an action on trailing side.
Aah, right, I forgot to adjust that message when moved the code in one function. Fix in the next revision.
> + def _click_ on_panel_ action( self, swipe_direction, action_object): content( swipe_direction ) single( objectName= button_ name) ToolkitExceptio n(
> 101 + self._swipe_
> 102 + try:
> 103 + button_name = 'actionbutton_' + action_object
> 104 + action_button =
> self.select_
> 105 + except dbus.StateNotFound:
> 106 + raise _common.
> 107 + 'The requested action not found on leading side')
>
>
> the exception text is incorrect, swipe direction may be 'left', then you are
> looking for an action on trailing side.
Aah, right, I forgot to adjust that message when moved the code in one function. Fix in the next revision.