From 8477efa841179e2097066fc0e0f3ef20151da614 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 1 Dec 2005 11:59:41 +0100 Subject: * MetaRelease.py: comments added * debian/control: build-depend on python-dev --- UpdateManager/MetaRelease.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'UpdateManager') diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py index 9c887d13..f91e30b6 100644 --- a/UpdateManager/MetaRelease.py +++ b/UpdateManager/MetaRelease.py @@ -37,6 +37,9 @@ class MetaRelease(gobject.GObject): gobject.GObject.__init__(self) self.metarelease_information = None self.downloading = True + # we start the download thread here and we have a timeout + # in the gtk space to test if the download already finished + # this is needed because gtk is not thread-safe t=thread.start_new_thread(self.download, ()) gobject.timeout_add(1000,self.check) -- cgit v1.2.3