summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-17 18:00:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-17 18:00:38 +0000
commit346c27514bbb20b6a9b54fc8e46377add6a4daa6 (patch)
tree128ceb155b24af807ac77bfcb9c188f7a9453fc0 /perl-install/ugtk2.pm
parent96ca621d062fd1cc68e3faca20ad625d3088507c (diff)
downloaddrakx-346c27514bbb20b6a9b54fc8e46377add6a4daa6.tar
drakx-346c27514bbb20b6a9b54fc8e46377add6a4daa6.tar.gz
drakx-346c27514bbb20b6a9b54fc8e46377add6a4daa6.tar.bz2
drakx-346c27514bbb20b6a9b54fc8e46377add6a4daa6.tar.xz
drakx-346c27514bbb20b6a9b54fc8e46377add6a4daa6.zip
center_always is unuser-friendly
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 13ae2a97a..470b0a1a6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -781,7 +781,6 @@ sub new {
$o->_create_window($title);
while (my $e = shift @tempory::objects) { $e->destroy }
push @interactive::objects, $o if !$opts{no_interactive_objects};
-# $o->{rwindow}->set_position('center-always') if $::isStandalone;
$o->{rwindow}->set_modal(1) if ($grab || $o->{grab} || $o->{modal}) && !$::isInstall;
$o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient};
@@ -843,7 +842,7 @@ sub new {
}
});
- $::WizardWindow->set_position('center_always');
+ $::WizardWindow->set_position('center_always') if !$::isStandalone;
$::WizardTable->attach($draw1, 0, 2, 0, 1, 'fill', 'fill', 0, 0);
$::WizardTable->set_size_request(540,420);
}