From 8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 22 Jan 2005 20:04:52 +0000 Subject: fix the various transient on {rwindow} (or even {window} ?) not working anymore on the MagicWindow (maybe the code could be simplified since it should now work even when embedded (?)) --- perl-install/standalone/draksec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/draksec') diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 371702303..7f9b87a9f 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -65,7 +65,7 @@ my %inv_fields = reverse %fields; # factorize this with rpmdrake and harddrake2 sub wait_msg { - my $mainw = ugtk2->new(N("Please wait"), (modal => 1, if_(!$::isEmbedded, transient => $w->{rwindow}))); + my $mainw = ugtk2->new(N("Please wait"), (modal => 1, if_(!$::isEmbedded, transient => $w->{real_window}))); $mainw->{window}->add(Gtk2::WrappedLabel->new($_[0])); $mainw->{rwindow}->show_all; gtkset_mousecursor_wait($mainw->{rwindow}->window); @@ -343,7 +343,7 @@ gtkpack_($vbox, ] ), { use_markup => 1, - if_(!$::isEmbedded, transient => $w->{window}), + if_(!$::isEmbedded, transient => $w->{real_window}), height => 400, width => 600, scroll => 1, -- cgit v1.2.1