diff options
Diffstat (limited to 'UpdateManager')
| -rw-r--r-- | UpdateManager/MetaRelease.py | 1 | ||||
| -rw-r--r-- | UpdateManager/UpdateManager.py | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/UpdateManager/MetaRelease.py b/UpdateManager/MetaRelease.py index 5127029a..9c887d13 100644 --- a/UpdateManager/MetaRelease.py +++ b/UpdateManager/MetaRelease.py @@ -38,6 +38,7 @@ class MetaRelease(gobject.GObject): self.metarelease_information = None self.downloading = True t=thread.start_new_thread(self.download, ()) + gobject.timeout_add(1000,self.check) def get_dist(self): " return the codename of the current runing distro " diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index d13d226f..7b846ed9 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -30,7 +30,6 @@ import GtkProgress from MetaRelease import Dist, MetaRelease # FIXME: -# - cary a reference to the update-class around in the ListStore # - kill "all_changes" and move the changes into the "Update" class # list constants @@ -661,13 +660,8 @@ class UpdateManager(SimpleGladeApp): def main(self): self.meta = MetaRelease() - # FIXME: this callback seting sucks! - #self.meta.current_dist_not_supported = self.current_dist_not_supported - #self.meta.new_dist_available = self.new_dist_available self.meta.connect("new_dist_available",self.new_dist_available) self.meta.connect("dist_no_longer_supported",self.dist_no_longer_supported) - gobject.timeout_add(1000, self.meta.check) - #self.get_meta_release() self.store.append([True, _("Initializing and getting list of updates..."), None, None, None, None, None]) |
