diff --git a/system/dialogs.py b/system/dialogs.py index efebc5e..d713bcf 100644 --- a/system/dialogs.py +++ b/system/dialogs.py @@ -48,6 +48,7 @@ class CreateProjectDruid(gtk.Window): self['druidpagefinish1'].connect('finish', self.finish) self['workflow_list'].connect('cursor_changed', self.selection_updated) + self['druid'].connect('cancel', self.cancel) self.connect('destroy', self.delete) def delete(self, widget): @@ -68,6 +69,10 @@ class CreateProjectDruid(gtk.Window): self.hide() self.destroy() + def cancel(self, *ignored): + self.hide() + self.destroy() + def selection_updated(self, *rest): tree, it = self['workflow_list'].get_selection().get_selected() wf = self.workflows.get_value(it, 1)