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/draksplash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/draksplash') diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 4a59407bd..072b593b6 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -165,7 +165,7 @@ $first{widgets}{combo}{res}->entry->signal_connect(changed => sub { #- image file selection for new theme $first{widgets}{button}{file}->signal_connect(clicked => sub { my $file_dialog = gtkset_modal(Gtk2::FileSelection->new(N("choose image")), 1); - $file_dialog->set_transient_for($window->{rwindow}); + $file_dialog->set_transient_for($window->{real_window}); $file_dialog->set_filename($img_file || '~/'); $file_dialog->cancel_button->signal_connect(clicked => sub { $file_dialog->destroy }); -- cgit v1.2.1