diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-26 16:48:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-26 16:48:27 +0000 |
commit | e8b4b287fbf54eeee0cec07dbce9adb3f2304692 (patch) | |
tree | 9e25a73920c379523eecfc55cbafd80e8810f898 /mdkapplet | |
parent | fff5416ebf26c65e6b03a063e7073883bb058b44 (diff) | |
download | mgaonline-e8b4b287fbf54eeee0cec07dbce9adb3f2304692.tar mgaonline-e8b4b287fbf54eeee0cec07dbce9adb3f2304692.tar.gz mgaonline-e8b4b287fbf54eeee0cec07dbce9adb3f2304692.tar.bz2 mgaonline-e8b4b287fbf54eeee0cec07dbce9adb3f2304692.tar.xz mgaonline-e8b4b287fbf54eeee0cec07dbce9adb3f2304692.zip |
basically enable to run on 2008.0 by removing usage of new perl-5.10 features
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -27,7 +27,6 @@ use lib qw(/usr/lib/libDrakX); use standalone; # for explanations use common; use run_program; -use feature 'state'; BEGIN { unshift @::textdomains, 'mdkonline' } @@ -591,7 +590,7 @@ sub checker_exit { } sub silentCheck() { - state $check_time; + my $check_time if 0; my $new_time = time(); if (!$check_time || $new_time - $check_time > $config{DISTRO_CHECK_DELAY}) { clean_distro_cache(); @@ -762,7 +761,7 @@ sub shouldStart() { sub setState { my ($state) = @_; my $checkme; - state $previous_state; + my $previous_state if 0; my @arr = @{$state{$state}{menu}}; my $tmp = eval { gtkcreate_pixbuf($state{$state}{colour}[0]) }; $icon->set_from_pixbuf($tmp) if $tmp; |