diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-08 10:08:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-08 10:08:24 +0000 |
commit | e49e0b0369cec11d4d85111d3a134d9d8b94d25e (patch) | |
tree | dc3bc33480aa9ff833460b5b99997b23aeda36a3 /perl-install/ugtk2.pm | |
parent | 5f2dc464a830536f8ae8a51c70ef9cec3071d491 (diff) | |
download | drakx-e49e0b0369cec11d4d85111d3a134d9d8b94d25e.tar drakx-e49e0b0369cec11d4d85111d3a134d9d8b94d25e.tar.gz drakx-e49e0b0369cec11d4d85111d3a134d9d8b94d25e.tar.bz2 drakx-e49e0b0369cec11d4d85111d3a134d9d8b94d25e.tar.xz drakx-e49e0b0369cec11d4d85111d3a134d9d8b94d25e.zip |
(new) make draksplash working again
regression introcued on 2008-08-18: "really fix another focus bug (#42750)"
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 0dd0e0fa8..f32ca85dd 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -738,7 +738,7 @@ sub new { my $icon = find { _find_imgfile($_) } $::isInstall ? 'empty-banner' : $opts{icon}; my $banner_title = $opts{banner_title}; $title = uc($title) if $::isInstall; - $o->{transient} ||= $::main_window if $::main_window; + $o->{transient} ||= $::main_window if $::main_window && !$opts{do_not_track_main_window}; my $window = gtknew( 'MagicWindow', title => $title || '', @@ -751,7 +751,7 @@ sub new { if_(!$::isInstall, icon_no_error => wm_icon()), if_($o->{transient}, transient_for => $o->{transient}), ); - push @::main_windows, $::main_window = $window->{real_window}; + push @::main_windows, $::main_window = $window->{real_window} if !$opts{do_not_track_main_window}; $window->set_border_width(10) if !$window->{pop_it} && !$::noborderWhenEmbedded; $o->{rwindow} = $o->{window} = $window; |