diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-03 14:05:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-03 14:05:37 +0000 |
commit | cd014aec5d83939b2a7cc479ac9ec36f975cef71 (patch) | |
tree | ee04d859a1c7a181d48d1d5b25943a0d5933da71 /mdkapplet | |
parent | 3131afc3fc913934425909526bf4ee75ee8cd72b (diff) | |
download | mgaonline-cd014aec5d83939b2a7cc479ac9ec36f975cef71.tar mgaonline-cd014aec5d83939b2a7cc479ac9ec36f975cef71.tar.gz mgaonline-cd014aec5d83939b2a7cc479ac9ec36f975cef71.tar.bz2 mgaonline-cd014aec5d83939b2a7cc479ac9ec36f975cef71.tar.xz mgaonline-cd014aec5d83939b2a7cc479ac9ec36f975cef71.zip |
(refresh_gui) prevent crashing
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ sub fork_exec { sub refresh_gui { my ($sens) = @_; !$conf_launched and silentCheck(); $conf_launched = 0; - my $w = $::main_window->window; + my $w = $::main_window->window if $::main_window; $insensitive_while_running_a_child = !$sens; $sens ? gtkset_mousecursor_normal($w) : gtkset_mousecursor_wait($w); $MW_vbox and $MW_vbox->set_sensitive($sens); |