From eb706ccd2c2b6458777d26025ac7db1efd1c294c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 4 Apr 2006 15:03:23 +0200 Subject: * give a proper parent for the dist-ugprade-fetcher error window --- UpdateManager/DistUpgradeFetcher.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/UpdateManager/DistUpgradeFetcher.py b/UpdateManager/DistUpgradeFetcher.py index 131fd28e..c4c42e8e 100644 --- a/UpdateManager/DistUpgradeFetcher.py +++ b/UpdateManager/DistUpgradeFetcher.py @@ -196,24 +196,28 @@ class DistUpgradeFetcher(object): if not self.showReleaseNotes(): return if not self.fetchDistUpgrader(): - error(_("Failed to fetch"), + error(self.parent, + _("Failed to fetch"), _("Fetching the upgrade failed. There may be a network " "problem. ")) return if not self.extractDistUpgrader(): - error(_("Failed to extract"), + error(self.parent, + _("Failed to extract"), _("Extracting the upgrade failed. There may be a problem " "with the network or with the server. ")) return if not self.verifyDistUprader(): - error(_("Verfication failed"), + error(self.parent, + _("Verfication failed"), _("Verfing the upgrade failed. There may be a problem " "with the network or with the server. ")) self.cleanup() return if not self.authenticate(): - error(_("Authentication failed"), + error(self.parent, + _("Authentication failed"), _("Authenticating the upgrade failed. There may be a problem " "with the network or with the server. ")) self.cleanup() -- cgit v1.2.3