diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-02 18:25:18 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-02 18:25:18 +0000 |
commit | 5ac277c3b564e94022c046cc40da04ad00fd330e (patch) | |
tree | e00a969874492892eccd1ca66ce30f01363d9232 /mdkapplet | |
parent | 0069b3401807074755059d4af3fcb6cd6be5da0b (diff) | |
download | mgaonline-5ac277c3b564e94022c046cc40da04ad00fd330e.tar mgaonline-5ac277c3b564e94022c046cc40da04ad00fd330e.tar.gz mgaonline-5ac277c3b564e94022c046cc40da04ad00fd330e.tar.bz2 mgaonline-5ac277c3b564e94022c046cc40da04ad00fd330e.tar.xz mgaonline-5ac277c3b564e94022c046cc40da04ad00fd330e.zip |
- date split
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -97,7 +97,7 @@ gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"), ); $eventbox->signal_connect(button_press_event => sub { if ($_[1]->button == 1) { - if (-e conffile) { showMainWindow() } else { configure() } + if (-e $conffile) { showMainWindow() } else { configure() } } $_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time); }); @@ -196,7 +196,8 @@ sub cronUpdate { sub lastCheck { my %h = getVarsFromSh($conffile); my ($t, $l); - $t = $h{LASTCHECK} =~ s/\_/ /; + $t = $h{LASTCHECK} ; + $t =~ s/\_/ /g; $t ? $t : N("No check") } sub checkUpdates { |