summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-08 15:14:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-08 15:14:09 +0200
commitf0445be6ab33a142ee00900ec10bc01bf0dae4fe (patch)
treed91574510c69da707335a821d90e32ac23b30a99 /DistUpgrade/DistUpgradeViewGtk.py
parentd5ac79e21790bccf2930f2046db06de8cfcdd283 (diff)
downloadpython-apt-f0445be6ab33a142ee00900ec10bc01bf0dae4fe.tar.gz
* DistUpgrade/DistUpgradeViewGtk.py:
- fix bug in the media-change code * DistUpgrade/TODO: udpated * DistUpgrade/mirrors.txt: added ftp.belnet.be
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index ed4efc31..80575859 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -73,10 +73,11 @@ class GtkFetchProgressAdapter(apt.progress.FetchProgress):
# if this is set to false the download will cancel
self.status = parent.label_status
self.progress = parent.progressbar_cache
+ self.parent = parent
def mediaChange(self, medium, drive):
#print "mediaChange %s %s" % (medium, drive)
msg = _("Please insert '%s' into the drive '%s'" % (medium,drive))
- dialog = gtk.MessageDialog(parent=self.window_main,
+ dialog = gtk.MessageDialog(parent=self.parent.window_main,
flags=gtk.DIALOG_MODAL,
type=gtk.MESSAGE_QUESTION,
buttons=gtk.BUTTONS_OK_CANCEL)