summaryrefslogtreecommitdiffstats
path: root/deskutils/hamster-applet/files/patch-src_hamster-standalone
blob: 57ac4866d4aad5415146a1894389647cf6d71776 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/hamster-standalone.orig 2010-06-06 13:12:54.000000000 +0200
+++ src/hamster-standalone  2010-06-06 13:14:12.000000000 +0200
@@ -497,13 +497,13 @@ if __name__ == "__main__":
     from hamster import defs
 
     # Setup i18n
-    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')
+#    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')
 
-        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')
 
     gtk.gdk.threads_init()
     app = ProjectHamster()