Code review comment for lp://staging/~zsombi/ubuntu-ui-toolkit/70-cpos

Revision history for this message
Zsombor Egri (zsombi) wrote :

> + 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.

« Back to merge proposal