diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-06-26 10:18:52 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-06-26 10:18:52 +0200 |
commit | 9687f72818d648cd8886a8dabc837218d250feae (patch) | |
tree | f9ec8308561353509fe107a6a203944897ca403c /lib/AdminPanel/Module | |
parent | c0c2ab81d17fc4ac44b484deead3a83413d10539 (diff) | |
download | colin-keep-9687f72818d648cd8886a8dabc837218d250feae.tar colin-keep-9687f72818d648cd8886a8dabc837218d250feae.tar.gz colin-keep-9687f72818d648cd8886a8dabc837218d250feae.tar.bz2 colin-keep-9687f72818d648cd8886a8dabc837218d250feae.tar.xz colin-keep-9687f72818d648cd8886a8dabc837218d250feae.zip |
use of setValue for consistency with other code
Diffstat (limited to 'lib/AdminPanel/Module')
-rw-r--r-- | lib/AdminPanel/Module/Clock.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Module/Clock.pm b/lib/AdminPanel/Module/Clock.pm index f5bc522..145447d 100644 --- a/lib/AdminPanel/Module/Clock.pm +++ b/lib/AdminPanel/Module/Clock.pm @@ -276,7 +276,7 @@ sub _adminClockPanel { } if ($info->{ntp_server}) { - $ntpLabel->setLabel($info->{ntp_server}); + $ntpLabel->setValue($info->{ntp_server}); } # get only once @@ -361,10 +361,10 @@ sub _adminClockPanel { $timeZoneLbl->setValue($self->loc->N("not defined")); } if ($info->{ntp_server}) { - $ntpLabel->setLabel($info->{ntp_server}); + $ntpLabel->setValue($info->{ntp_server}); } else { - $ntpLabel->setLabel($self->loc->N("not defined")); + $ntpLabel->setValue($self->loc->N("not defined")); } } elsif($widget == $aboutButton) { |