From f0445be6ab33a142ee00900ec10bc01bf0dae4fe Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 8 May 2006 15:14:09 +0200 Subject: * DistUpgrade/DistUpgradeViewGtk.py: - fix bug in the media-change code * DistUpgrade/TODO: udpated * DistUpgrade/mirrors.txt: added ftp.belnet.be --- DistUpgrade/DistUpgradeViewGtk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'DistUpgrade/DistUpgradeViewGtk.py') 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) -- cgit v1.2.3