From c6540ced0eee61a331f3a4dab5f44ecc62af7245 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Aug 2003 13:53:42 +0000 Subject: (_create_dialog, create_dialog) let support the same api as new() and threat transient option --- perl-install/ugtk2.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 4b96ced5d..0efd1a0b7 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -359,6 +359,7 @@ sub _create_dialog { $dialog->set_position('center-on-parent'); # center-on-parent doesn't work $dialog->set_size_request(-1, $o_options->{small} ? -1 : 400); $dialog->set_modal(1); + $dialog->set_transient_for($o_options->{transient}) if $o_options->{transient}; $dialog; } -- cgit v1.2.1