summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-21 08:50:15 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-21 08:50:15 +0000
commit181c09577174f5852f2031fd5edd11c1b7d2b5b9 (patch)
tree09ebb21f4bd90fd9d0fb93fb15d9a0df11e23b5e
parente9bb0164d90b7e626cfda6453ceb661385c33c55 (diff)
downloaddrakx-181c09577174f5852f2031fd5edd11c1b7d2b5b9.tar
drakx-181c09577174f5852f2031fd5edd11c1b7d2b5b9.tar.gz
drakx-181c09577174f5852f2031fd5edd11c1b7d2b5b9.tar.bz2
drakx-181c09577174f5852f2031fd5edd11c1b7d2b5b9.tar.xz
drakx-181c09577174f5852f2031fd5edd11c1b7d2b5b9.zip
(create_buttons4partitions) fix sizing partitions bar (#24410): we
were sizing width of the box according to window's heigh instead of window's width...
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/install/NEWS2
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 76aee8132..9f2098c06 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- diskdrake
+ o fix sizing partitions bar (#24410)
- drakauth:
o handle pam_tcb instead of (deprecated) pam_unix (#42471)
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 7a446ad8b..888af4630 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -271,7 +271,7 @@ sub create_automatic_notebooks {
sub create_buttons4partitions {
my ($kind, $totalsectors, @parts) = @_;
- $width = max($width, 0.9 * second($w->{window}->window->get_size)) if $w->{window}->window;
+ $width = max($width, 0.9 * first($w->{window}->window->get_size)) if $w->{window}->window;
my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1;
while (1) {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b3ac7e05e..7beff7911 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,7 @@
- do not uselessly install kernel-server on x86_64 if more than 3.8Gb
are availlable
+- diskdrake
+ o fix sizing partitions bar (#24410)
Version 11.19 - 20 August 2008