summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-06 10:38:42 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-06 10:38:42 +0100
commitde5a2ac303e5c7b0caa5419b87ea03ed6a4192ca (patch)
tree7083393d87efddb4aecf8cc583e67865808d1ac3 /DistUpgrade/DistUpgradeViewGtk.py
parent7520aea4b9ea79e180aa9dca5eed719158b70d91 (diff)
parent52d4a8c09000ea446458ff401f2c0a9d620212cb (diff)
downloadpython-apt-de5a2ac303e5c7b0caa5419b87ea03ed6a4192ca.tar.gz
* merged from the laptop branch
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index f32533db..b4ad4a0a 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -29,6 +29,7 @@ import gobject
import pango
import sys
import logging
+import time
import apt
import apt_pkg
@@ -169,9 +170,10 @@ class GtkInstallProgressAdapter(InstallProgress):
self.label_status.set_text(self.status)
while gtk.events_pending():
gtk.main_iteration()
+ time.sleep(0.01)
-class GtkDistUpgradeView(DistUpgradeView,SimpleGladeApp):
+class DistUpgradeViewGtk(DistUpgradeView,SimpleGladeApp):
" gtk frontend of the distUpgrade tool "