summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 722e04769..dd547d7b8 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -345,7 +345,7 @@ sub _create_dialog {
$dialog->signal_connect(delete_event => sub { Gtk2->main_quit });
$dialog->set_title($title);
$dialog->set_position('center-on-parent'); # center-on-parent doesn't work
- $dialog->set_size_request(-1, 400) if !$o_options->{small};
+ $dialog->set_size_request(-1, $o_options->{small} ? -1 : 400);
$dialog->set_modal(1);
$dialog;
}