diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-12-29 11:45:36 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-12-29 11:45:36 +0000 |
commit | 367969ed12dbcbf8d4132bb7622a643f084ebbaf (patch) | |
tree | 57eaffa44bec6a8f1f79677be06e135ac120ee96 | |
parent | f8f69acb6ff56671ea7c49799620f31f627d51b3 (diff) | |
download | mgaonline-367969ed12dbcbf8d4132bb7622a643f084ebbaf.tar mgaonline-367969ed12dbcbf8d4132bb7622a643f084ebbaf.tar.gz mgaonline-367969ed12dbcbf8d4132bb7622a643f084ebbaf.tar.bz2 mgaonline-367969ed12dbcbf8d4132bb7622a643f084ebbaf.tar.xz mgaonline-367969ed12dbcbf8d4132bb7622a643f084ebbaf.zip |
- set_last_time
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -207,9 +207,10 @@ sub refresh_contents { foreach my $l (['first', 'red'], ['second', 'royalblue3'], ['third', 'green']) { $color->{$l->[0]} = { 'foreground' => $l->[1], 'weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD } } - my $fixed_tag = { 'font' => 'monospace' }; + my $fixed_tag = { 'font' => 'monospace' }; + setLastTime(); my $last = lastCheck(); - my $contents = [ [ N("Network Connection: "), $color->{second} ], [ isNetwork() ? N("Up") . "\n" : N("Down") . "\n", isNetwork() ? $color->{third} : $color->{first} ], + my $contents = [ [ N("Network Connection: "), $color->{second} ], [ isNetwork() ? N("Up") . "\n" : N("Down") . "\n", isNetwork() ? $color->{third} : $color->{first} ], [ N("Last check: "), $color->{second} ], [ "$last\n", $fixed_tag ], [ N("Machine name:"), $color->{second} ], [ $h{MACHINE} . "\n", $fixed_tag ], [ N("Updates: "), $color->{second} ], [ common::sprintf_fixutf8($state{$status}{tt}[0]), $status eq 'okay' ? $color->{third} : $color->{first} ], |