[nanny: 6/11] Remove lang file code of nanny-systray



commit 81ac2f05411913c55d9d7c14facf7d2ed6e980b4
Author: Roberto Majadas <roberto majadas openshine com>
Date:   Thu Apr 1 06:06:31 2010 +0200

    Remove lang file code of nanny-systray

 client/gnome/systray/nanny-systray |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/client/gnome/systray/nanny-systray b/client/gnome/systray/nanny-systray
index f498cd2..7e60447 100644
--- a/client/gnome/systray/nanny-systray
+++ b/client/gnome/systray/nanny-systray
@@ -31,18 +31,5 @@ import nanny.client.gnome.systray
 
 __builtin__._ = gettext.gettext
 
-try:
-    if os.environ.has_key("LANG") :
-        if not os.path.exists(os.path.join(os.environ["HOME"], ".config", "nanny")):
-            os.system("mkdir -p %s" % os.path.join(os.environ["HOME"], ".config", "nanny"))
-
-        os.system("echo 'LANG=%s' > %s" % (os.environ["LANG"], 
-                                          os.path.join(os.environ["HOME"], ".config", "nanny", "lang")
-                                          )
-                  )
-except:
-    pass
-        
-
 nanny_systray = nanny.client.gnome.systray.SystrayNanny()
 gtk.main()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]