summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-04 15:01:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-04 15:01:39 +0000
commitec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef (patch)
treef95ab0ffcb40eb26468d5367bd2cce1c40ebcd2f /mdkapplet
parentde8077f0f8e3e229adced84af7756184128fe44c (diff)
downloadmgaonline-ec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef.tar
mgaonline-ec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef.tar.gz
mgaonline-ec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef.tar.bz2
mgaonline-ec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef.tar.xz
mgaonline-ec6e2cdbf3e4eb1591a0120d1ab2f1968316eeef.zip
(refresh_gui) perl_checker cleanup
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 40d2e91f..d7c8f428 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -194,7 +194,7 @@ sub fork_exec {
sub refresh_gui {
my ($sens) = @_;
!$conf_launched and silentCheck(); $conf_launched = 0;
- my $w = $::main_window->window if $::main_window;
+ my $w = $::main_window ? $::main_window->window : undef;
$insensitive_while_running_a_child = !$sens;
$sens ? gtkset_mousecursor_normal($w) : gtkset_mousecursor_wait($w);
$MW_vbox and $MW_vbox->set_sensitive($sens);