summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-01 06:34:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-01 06:34:47 +0000
commit1b3c0dc933ed870737643f5becc6084caa78e8a2 (patch)
tree17b8c40f1140c5279974207a5d8a9b15fa96be5d
parent21088233cbbfccc7a1fe705a34761e9054da0a9e (diff)
downloaddrakx-backup-do-not-use-1b3c0dc933ed870737643f5becc6084caa78e8a2.tar
drakx-backup-do-not-use-1b3c0dc933ed870737643f5becc6084caa78e8a2.tar.gz
drakx-backup-do-not-use-1b3c0dc933ed870737643f5becc6084caa78e8a2.tar.bz2
drakx-backup-do-not-use-1b3c0dc933ed870737643f5becc6084caa78e8a2.tar.xz
drakx-backup-do-not-use-1b3c0dc933ed870737643f5becc6084caa78e8a2.zip
let harddrake gui fit better when embedded
-rwxr-xr-xperl-install/standalone/harddrake23
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 37c05b2f6..84fede8a8 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -153,7 +153,7 @@ my ($statusbar, $sig_id);
$w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0),
if_(!$::isEmbedded, 0, $menubar),
1, create_hpaned(gtkadd(Gtk2::Frame->new(N("Detected hardware")),
- create_scrolled_window(gtkset_size_request(my $tree = Gtk2::TreeView->new_with_model($tree_model), 350, -1))),
+ create_scrolled_window(gtkset_size_request(my $tree = Gtk2::TreeView->new_with_model($tree_model), $::isEmbedded ? 250 : 350, -1), ['automatic', 'automatic'] )),
gtkpack_(0, Gtk2::VBox->new(0, 0),
1, gtkadd(my $frame = Gtk2::Frame->new(N("Information")),
create_scrolled_window(my $text = Gtk2::TextView->new)),
@@ -175,7 +175,6 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0),
}
})
),
- ('resize1' => 0, shrink1 => 1, resize2 => 0, shrink2 => 1)
),
0, $statusbar = Gtk2::Statusbar->new,
if_($::isEmbedded, 0, gtkpack(create_hbox(),