summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-18 13:53:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-18 13:53:42 +0000
commitc6540ced0eee61a331f3a4dab5f44ecc62af7245 (patch)
treeca023ca5a91c31db631371f672c9df838cfa10e7
parent0ba5dd6b1b164d7f435a30ab824812ce5fa150a7 (diff)
downloaddrakx-c6540ced0eee61a331f3a4dab5f44ecc62af7245.tar
drakx-c6540ced0eee61a331f3a4dab5f44ecc62af7245.tar.gz
drakx-c6540ced0eee61a331f3a4dab5f44ecc62af7245.tar.bz2
drakx-c6540ced0eee61a331f3a4dab5f44ecc62af7245.tar.xz
drakx-c6540ced0eee61a331f3a4dab5f44ecc62af7245.zip
(_create_dialog, create_dialog) let support the same api as new() and
threat transient option
-rw-r--r--perl-install/ugtk2.pm1
1 files changed, 1 insertions, 0 deletions
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;
}