summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-02 18:25:18 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-02 18:25:18 +0000
commit5ac277c3b564e94022c046cc40da04ad00fd330e (patch)
treee00a969874492892eccd1ca66ce30f01363d9232 /mdkapplet
parent0069b3401807074755059d4af3fcb6cd6be5da0b (diff)
downloadmgaonline-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-xmdkapplet5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index de7e56b2..04ff8c6c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 {