summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-03-12 18:13:07 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-03-12 18:13:07 +0000
commit383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e (patch)
treed96cff78b216b8552ef34e4be55135c019dbc3af /perl-install/diskdrake/hd_gtk.pm
parente59d0595339e07bc6d0575ee21b079ce674b82e6 (diff)
downloaddrakx-backup-do-not-use-383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e.tar
drakx-backup-do-not-use-383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e.tar.gz
drakx-backup-do-not-use-383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e.tar.bz2
drakx-backup-do-not-use-383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e.tar.xz
drakx-backup-do-not-use-383ebb07754a61e56dd6a4e3ae45b4ce0c694b9e.zip
- let diskdrake fit when embedded in mcc
- let action box be larger so that there's no horizontal scrollbar in standalone mode
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 6348b3f02..5a3c2ea3a 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -135,7 +135,7 @@ sub add_kind2notebook {
die if $kind->{main_box};
$kind->{display_box} = gtkset_size_request(Gtk2::HBox->new(0,0), $width, $height);
- $kind->{action_box} = gtkset_size_request(Gtk2::VBox->new(0,0), 150, 180);
+ $kind->{action_box} = gtkset_size_request(Gtk2::VBox->new(0,0), $::isStandalone ? 165 : 150, $::isEmbedded ? 150 : 180);
$kind->{info_box} = Gtk2::VBox->new(0,0);
$kind->{main_box} =
gtkpack_(Gtk2::VBox->new(0,7),