summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-05 19:35:50 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-05 19:35:50 +0000
commit9bd64c23f423416881941c377429834246501aff (patch)
tree27f0b0278a59374c44f0b1f84ab5d7b5446703b4
parent75c6ef3167ed1e859ea626655d61650fe9f0e5ae (diff)
downloaddrakx-backup-do-not-use-9bd64c23f423416881941c377429834246501aff.tar
drakx-backup-do-not-use-9bd64c23f423416881941c377429834246501aff.tar.gz
drakx-backup-do-not-use-9bd64c23f423416881941c377429834246501aff.tar.bz2
drakx-backup-do-not-use-9bd64c23f423416881941c377429834246501aff.tar.xz
drakx-backup-do-not-use-9bd64c23f423416881941c377429834246501aff.zip
(display_release_notes) fix release notes window size in !install mode
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/any.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4e1c0f5db..88897c513 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- finish-install: fix release notes window size
+
Version 10.4.237 - 5 October 2007, by Olivier "blino" Blin
- fix installed modules detection (#34478)
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 2ccb05252..94be8c45f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -871,7 +871,7 @@ sub display_release_notes {
),
);
# make parent visible still visible:
- local ($::real_windowwidth, $::real_windowheight) = ($::real_windowwidth - 50, $::real_windowheight - 50);
+ local ($::real_windowwidth, $::real_windowheight) = ($::real_windowwidth - 50, $::real_windowheight - 50) if $::isInstall;
mygtk2::set_main_window_size($w->{rwindow});
$w->{real_window}->grab_focus;
$w->{real_window}->show_all;