diff options
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r-- | perl-install/interactive_gtk.pm | 4 |
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; |