summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-02-07 01:06:00 +0000
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-02-07 01:06:00 +0000
commit2343ac2d22ea1df7b24bc64fca02eace18443a41 (patch)
tree4d8981ef8ac318cfb1de78c62c26f602b9b15909 /DistUpgrade/DistUpgradeViewGtk.py
parent99a65ab5e62498dc958c3f1e374dbd2bbf72e7c6 (diff)
parenta17bb120fa2b183eddee12b350829d933efe002a (diff)
downloadpython-apt-2343ac2d22ea1df7b24bc64fca02eace18443a41.tar.gz
* merge from mvo
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 "