summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk2.pm1
-rw-r--r--perl-install/ugtk2.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 37fa812ec..ad19700b3 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -503,7 +503,6 @@ sub _gtk__MagicWindow {
}
set_main_window_size($::WizardWindow);
- $sub_child->set_border_width($::noborderWhenEmbedded ? 0 : 10);
$w = $::WizardWindow;
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index b4c6ecf0c..39a09dbb5 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -856,6 +856,7 @@ sub new {
if_(!$::isInstall, icon_no_error => wm_icon()),
if_($o->{transient} && $o->{transient} =~ /Gtk2::Window/, transient_for => $o->{transient}),
);
+ $window->set_border_width(10) if !$window->{pop_it} && !$::noborderWhenEmbedded;
$o->{rwindow} = $o->{window} = $window;
$o->{real_window} = $window->{real_window};