summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/MetaRelease.py3
1 files changed, 3 insertions, 0 deletions
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)