aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-06 13:49:26 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-06 13:49:26 +0000
commit1fa1718251a39257027361e0114a06efbc311d94 (patch)
tree08db340fd85ef4c8766b91418bf639c442301118 /Rpmdrake
parent7308d55c725f5de36821e8f498a2ecc7b2e1d173 (diff)
downloadrpmdrake-1fa1718251a39257027361e0114a06efbc311d94.tar
rpmdrake-1fa1718251a39257027361e0114a06efbc311d94.tar.gz
rpmdrake-1fa1718251a39257027361e0114a06efbc311d94.tar.bz2
rpmdrake-1fa1718251a39257027361e0114a06efbc311d94.tar.xz
rpmdrake-1fa1718251a39257027361e0114a06efbc311d94.zip
(perform_installation) fix some error dialogs not being modal
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index bd25caf9..6121b35b 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -719,7 +719,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
ask_yes_or_no => sub {
# handle 'allow-force' and 'allow-nodeps' options:
my ($title, $msg) = @_;
- local $::main_window = $gurpm->{mainw}{real_window};
+ local $::main_window = $gurpm->{real_window};
interactive_msg($title, $msg, yesno => 1, scroll => 1,
) or goto return_with_exit_code;
},
@@ -759,7 +759,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
check_sig => sub { $gurpm->progress(++$progress/$total) },
bad_signature => sub {
my ($msg, $msg2) = @_;
- local $::main_window = $gurpm->{mainw}{real_window};
+ local $::main_window = $gurpm->{real_window};
$msg =~ s/:$/\n\n/m; # FIXME: to be fixed in urpmi after 2008.0
interactive_msg(
N("Warning"), "$msg\n\n$msg2", yesno => 1, if_(10 < ($msg =~ tr/\n/\n/), scroll => 1),