summaryrefslogtreecommitdiffstats
path: root/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py
blob: 6d436ef15360f7bf889dcd969967bf55da9743d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- hamster/hamster-applet.py.orig  2009-07-19 21:41:20.000000000 +1000
+++ hamster/hamster-applet.py   2009-07-19 21:41:46.000000000 +1000
@@ -37,14 +37,14 @@ from hamster import defs
 from hamster.configuration import runtime
 
 # Setup i18n
-locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale"))
+#locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale"))
 
-for module in (gettext, locale):
-    module.bindtextdomain('hamster-applet', locale_dir)
-    module.textdomain('hamster-applet')
+#for module in (gettext, locale):
+#    module.bindtextdomain('hamster-applet', locale_dir)
+#    module.textdomain('hamster-applet')
 
-    if hasattr(module, 'bind_textdomain_codeset'):
-        module.bind_textdomain_codeset('hamster-applet','UTF-8')
+#    if hasattr(module, 'bind_textdomain_codeset'):
+#        module.bind_textdomain_codeset('hamster-applet','UTF-8')
 
 
 from hamster.applet import HamsterApplet