From 0aa036c1638acb931cc46b70cf7935ea9c3154e3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2003 09:10:04 +0000 Subject: smoother gui: let main windows be unreachable until modal dialog is closed --- perl-install/standalone/drakperm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone/drakperm') diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index 02bbf23a9..7e56d8a6d 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -282,6 +282,7 @@ sub row_setting_dialog { $browse->signal_connect(clicked => sub { my $file_dlg = new Gtk2::FileSelection(N("Path selection")); $file_dlg->set_modal(1); + $file_dlg->set_transient_for($dlg); $file_dlg->show; $file_dlg->set_filename($file->get_text); $file_dlg->cancel_button->signal_connect( clicked => sub { $file_dlg->destroy }); -- cgit v1.2.1