summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-01 11:59:41 +0100
committerMichael Vogt <egon@top>2005-12-01 11:59:41 +0100
commit8477efa841179e2097066fc0e0f3ef20151da614 (patch)
treec9e23407fd881c12b0941693d8a9d05e1b3bd137 /UpdateManager
parentd0b7e12a48c0df3e0af64fe74333ff1010554a28 (diff)
downloadpython-apt-8477efa841179e2097066fc0e0f3ef20151da614.tar.gz
* MetaRelease.py: comments added
* debian/control: build-depend on python-dev
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)