summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-07-19 13:23:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-07-19 13:23:03 +0000
commit581218934d9a4c912fc67b65024bbffb10b92cc8 (patch)
treeac13a1be46d2840dbd674b59fed5e072d2db0caa /perl-install/mygtk2.pm
parent1f568758fef2b02a4a9504d6ba5d11967a49b498 (diff)
downloaddrakx-581218934d9a4c912fc67b65024bbffb10b92cc8.tar
drakx-581218934d9a4c912fc67b65024bbffb10b92cc8.tar.gz
drakx-581218934d9a4c912fc67b65024bbffb10b92cc8.tar.bz2
drakx-581218934d9a4c912fc67b65024bbffb10b92cc8.tar.xz
drakx-581218934d9a4c912fc67b65024bbffb10b92cc8.zip
(_gtk__MagicWindow) fix layout for programms embedded with their
menubar through the newly introduced $::noborderWhenEmbedded flag
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index b56874a24..2184dab14 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -498,7 +498,7 @@ sub _gtk__MagicWindow {
}
set_main_window_size($::WizardWindow);
- $sub_child->set_border_width($rpmdrake::VERSION ? 0 : 10);
+ $sub_child->set_border_width($::noborderWhenEmbedded ? 0 : 10);
$w = $::WizardWindow;
gtkadd($::WizardTable, children_loose => [ $sub_child ]);