From 9f7fec8901727f96660617c42baf76682de6fec5 Mon Sep 17 00:00:00 2001
From: Thierry Vignaud <tv@mandriva.org>
Date: Tue, 18 Sep 2007 16:38:35 +0000
Subject: (perform_installation) yet more typos

---
 Rpmdrake/pkg.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index fd134cbe..67234266 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -592,7 +592,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->{mainw}->{real_window};
                                  interactive_msg($title, $msg, yesno => 1, scroll => 1,
                                  ) or goto return_with_exit_code;
                              },
@@ -653,7 +653,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->{mainw}->{real_window};
                                  interactive_msg(
                                      N("Warning"), "$msg\n$msg2", yesno => 1, if_(10 < $msg =~ tr/\n/\n/, scroll => 1),
                                  ) or goto return_with_exit_code;
-- 
cgit v1.2.1