Move the model to his own module

This commit is contained in:
Marco Pesenti Gritti
2006-09-15 12:52:37 +02:00
parent 14383f4fc7
commit ca19f0f251
12 changed files with 14 additions and 10 deletions
-1
View File
@@ -27,7 +27,6 @@ class TasksItem(DonutItem):
def _add(self, activity):
icon_name = activity.get_icon_name()
icon_color = activity.get_icon_color()
print 'Add activity %s' % icon_color.to_string()
item = self.add_piece(100 / 8, icon_name, icon_color)
item.get_icon().connect('clicked',