Exemple #1
0
    def __init__(self, activity, **kwargs):
        toolbar = ActivityToolbar(activity, orientation_left=True)
        toolbar.stop.hide()

        ToolbarButton.__init__(self, page=toolbar, **kwargs)

        icon = _create_activity_icon(activity.metadata)
        self.set_icon_widget(icon)
        icon.show()
Exemple #2
0
 def __init__(self, activity, **kwargs):
     print "MY Alternative tOOLbARbUTTON init\n"
     toolbar = ActivityToolbar(activity, orientation_left=True)
     toolbar.stop.hide()
     toolbar.keep.hide()
     ToolbarButton.__init__(self, page=toolbar, **kwargs)
     icon = _create_activity_icon(activity.metadata)
     self.set_icon_widget(icon)
     icon.show()
Exemple #3
0
    def __init__(self, activity, **kwargs):
        toolbar = ActivityToolbar(activity, orientation_left=True)
        toolbar.stop.hide()

        ToolbarButton.__init__(self, page=toolbar, **kwargs)

        icon = _create_activity_icon(activity.metadata)
        self.set_icon_widget(icon)
        icon.show()