thx to peter from shrtrac for providing this patch
fixes bug #1235

Signed-off-by: Jake Drexel <[email protected]>
---
 shr_settings_modules/shr_timezone.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/shr_settings_modules/shr_timezone.py
b/shr_settings_modules/shr_timezone.py
index cb928c2..55844e4 100644
--- a/shr_settings_modules/shr_timezone.py
+++ b/shr_settings_modules/shr_timezone.py
@@ -47,7 +47,7 @@ class Timezone(module.AbstractModule):
         ret = os.system("ln  -s %s /etc/localtime" %
os.path.join(self.tzdir,timezone))
         if ret:
             self.InfoDialog(None, "error linking timezone to /etc/localtime")
-
+        self.CurrentTZ.label_set(self.GetCurrentTimezone())

     def receivedTimezone(self, timezone, obj, *args, **kargs):
         self.setNewTimezone(timezone)
-- 
1.7.3.4
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to