summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-17 19:00:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-17 19:00:42 +0000
commitd676872ffcd41a4d1975c37c029a0f3bb102984f (patch)
tree43f1473ff84a1973de1e43e5d77f53892a3b97e4
parentb3dad0b7854f74282b7bccd59484879e9bc076f7 (diff)
downloaddrakx-d676872ffcd41a4d1975c37c029a0f3bb102984f.tar
drakx-d676872ffcd41a4d1975c37c029a0f3bb102984f.tar.gz
drakx-d676872ffcd41a4d1975c37c029a0f3bb102984f.tar.bz2
drakx-d676872ffcd41a4d1975c37c029a0f3bb102984f.tar.xz
drakx-d676872ffcd41a4d1975c37c029a0f3bb102984f.zip
(_create_dialog) default is "as much as needed" size
-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;
}