summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-16 12:21:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-16 12:21:42 +0000
commit9f79700b6a7f6b0746f296f75e85237d797cd64d (patch)
tree2a8ad2b1eec0786e3706d91cf5c79b59ee000a1e /perl-install/standalone/drakfont
parent5b983837c80f7634dafdb8c764a01cf5bc4f6474 (diff)
downloaddrakx-9f79700b6a7f6b0746f296f75e85237d797cd64d.tar
drakx-9f79700b6a7f6b0746f296f75e85237d797cd64d.tar.gz
drakx-9f79700b6a7f6b0746f296f75e85237d797cd64d.tar.bz2
drakx-9f79700b6a7f6b0746f296f75e85237d797cd64d.tar.xz
drakx-9f79700b6a7f6b0746f296f75e85237d797cd64d.zip
(dialog) make subdialogs be transcient for main window when not embedded
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index f26252ed4..5ee76e887 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -619,7 +619,7 @@ sub exitdialog() { Gtk2->main_quit };
sub dialog {
my ($title, $widgets, $buttons, $o_main_loop) = @_;
- $dialog = _create_dialog($title);
+ $dialog = _create_dialog($title, if_(!$::isEmbedded, { transient => $window1->{window} }));
$dialog->signal_connect(delete_event => \&exitdialog);
gtkpack_($dialog->vbox, @$widgets);
gtkpack($dialog->action_area, @$buttons) if $buttons;