diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-22 20:04:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-22 20:04:52 +0000 |
commit | 8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c (patch) | |
tree | 5e169c320d98046b123280a201a95c53f70a0333 /perl-install/standalone/draksec | |
parent | f2ca9ed86130f1be3363ef58eeb4ec25c0283bf8 (diff) | |
download | drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.gz drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.bz2 drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.xz drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.zip |
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 (?))
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-x | perl-install/standalone/draksec | 4 |
1 files changed, 2 insertions, 2 deletions
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, |