diff options
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 { |