summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-15 16:51:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-15 16:51:23 +0000
commitcf38b5b6fc6b667f10b405a41952b790cd761b88 (patch)
tree55219d5f36cc5823ea17c3ec46a512bcd9bea15e /perl-install/ugtk2.pm
parent548ea2cdcdb1f3704b92a41663ed9baefb92089c (diff)
downloaddrakx-cf38b5b6fc6b667f10b405a41952b790cd761b88.tar
drakx-cf38b5b6fc6b667f10b405a41952b790cd761b88.tar.gz
drakx-cf38b5b6fc6b667f10b405a41952b790cd761b88.tar.bz2
drakx-cf38b5b6fc6b667f10b405a41952b790cd761b88.tar.xz
drakx-cf38b5b6fc6b667f10b405a41952b790cd761b88.zip
- move set_main_window_size() from ugtk2 to mygtk2
- call it in MagicWindow creation
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 4e9aaa765..24b0ab6f5 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -826,7 +826,6 @@ sub wrap_paragraph {
sub new {
my ($type, $title, %opts) = @_;
-
my $o = bless { %opts }, $type;
while (my $e = shift @tempory::objects) { $e->destroy }
@@ -843,17 +842,8 @@ sub new {
$o->{rwindow} = $o->{window} = $window;
$o->{pop_it} = $window->{pop_it};
- if (!$o->{pop_it}) {
- set_main_window_size($o->{window});
- $o->{window}->set_border_width(10);
- }
$o;
}
-sub set_main_window_size {
- my ($window) = @_;
- my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400);
- $window->set_size_request($width, $height);
-}
sub main {
my ($o, $o_completed, $o_canceled) = @_;