This commit is contained in:
Tomeu Vizoso 2007-02-24 14:23:18 +01:00
parent 4200f1edeb
commit 52fc6826ab

View File

@ -43,9 +43,9 @@ class ClipboardIcon(CanvasIcon):
self._menu.set_state(name, percent, preview, activity)
if activity and percent < 100:
self.set_property('color', XoColor("#000000,#424242"))
self.props.xo_color = XoColor("#000000,#424242")
else:
self.set_property('color', XoColor("#000000,#FFFFFF"))
self.props.xo_color = XoColor("#000000,#FFFFFF")
def _activity_create_success_cb(self, handler, activity):
activity.start(util.unique_id())