summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-11 13:16:18 +0000
committerdamien <damien@mandriva.com>2001-09-11 13:16:18 +0000
commita1c30874dd79d9b39590180e3eb63b64a9e424ac (patch)
treee319cf21184ae239e335708aa5c8de3d0725f1a3 /perl-install/interactive_gtk.pm
parentca93c3dd1750ae75a79671a62cd6fbf74985707f (diff)
downloaddrakx-a1c30874dd79d9b39590180e3eb63b64a9e424ac.tar
drakx-a1c30874dd79d9b39590180e3eb63b64a9e424ac.tar.gz
drakx-a1c30874dd79d9b39590180e3eb63b64a9e424ac.tar.bz2
drakx-a1c30874dd79d9b39590180e3eb63b64a9e424ac.tar.xz
drakx-a1c30874dd79d9b39590180e3eb63b64a9e424ac.zip
fear the shaped windows...
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index c3a9c1cc9..e4d42daa7 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -528,8 +528,8 @@ sub ask_fromW {
$pack->pack_start($advanced_pack, 1, 1, 0);
gtkadd($mainw->{window}, $pack);
if (!$::isEmbedded && !$::isWizard || $my_gtk::pop_it) {
- $mainw->{rwindow}->set_default_size($mainw->{box_width}, $mainw->{box_height}) if $has_scroll;
- $mainw->{rwindow}->set_default_size($mainw->{box_width}, 0) if $has_horiz_scroll;
+ $mainw->{rwindow}->set_default_size($mainw->{box_width}+6+$my_gtk::shape_width, $mainw->{box_height}+6+3+$my_gtk::shape_width) if $has_scroll;
+ $mainw->{rwindow}->set_default_size($mainw->{box_width}+6+$my_gtk::shape_width, 0) if $has_horiz_scroll;
}
$set_advanced->(0);
(@widgets ? $widgets[0]{focus_w} : $common->{focus_cancel} ? $mainw->{cancel} : $mainw->{ok})->grab_focus();