summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
commit405fee60d1e1137611dae9783ae370563c901967 (patch)
treee6178c064c6908a7aef5df4ade4454aed99def22 /perl-install/interactive_gtk.pm
parent6e1499a56590006f2a11ab711804fee205311c36 (diff)
downloaddrakx-405fee60d1e1137611dae9783ae370563c901967.tar
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.gz
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.bz2
drakx-405fee60d1e1137611dae9783ae370563c901967.tar.xz
drakx-405fee60d1e1137611dae9783ae370563c901967.zip
no_comment
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 049c25753..faa26a7e3 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -47,7 +47,7 @@ sub ask_from_listW {
),
);
$defW->grab_focus if $defW;
- $w->{rwindow}->set_position('center');
+ $w->{rwindow}->set_position('center') if $::isStandalone;
$w->main;
} else {
$w->_ask_from_list($title, $messages, $l, $def);
@@ -213,7 +213,7 @@ sub wait_messageW($$$) {
gtkpack(new Gtk::VBox(0,0),
@$messages,
$w->{wait_messageW} = new Gtk::Label($W)));
- $w->{rwindow}->set_position('center');
+ $w->{rwindow}->set_position('center') if $::isStandalone;
$w->{wait_messageW}->signal_connect(expose_event => sub { $w->{displayed} = 1 });
$w->sync until $w->{displayed};
$w;