summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UpdateManager/MetaRelease.py3
-rw-r--r--debian/control2
2 files changed, 4 insertions, 1 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)
diff --git a/debian/control b/debian/control
index 1d0818d8..2cb3e68d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: update-manager
Section: gnome
Priority: optional
Maintainer: Michiel Sikkes <michiel@eyesopened.nl>
-Build-Depends: debhelper (>= 4.0.0), libxml-parser-perl, scrollkeeper, intltool
+Build-Depends: debhelper (>= 4.0.0), libxml-parser-perl, scrollkeeper, intltool, python-dev
Standards-Version: 3.6.1.1
Package: update-manager