src/updatemanagernotifier.py
changeset 641 f8001bcf3d09
parent 638 53b78e3428fc
child 660 ea2809ad4582
--- a/src/updatemanagernotifier.py	Wed Oct 29 09:46:12 2008 -0700
+++ b/src/updatemanagernotifier.py	Wed Oct 29 11:07:56 2008 -0700
@@ -77,8 +77,7 @@
 class UpdateManagerNotifier:
         def __init__(self):
                 # Required for pkg strings used in pkg API
-                gettext.bindtextdomain("pkg", "/usr/share/locale")
-                gettext.textdomain("pkg")
+                gettext.install("pkg", "/usr/lib/locale")
                 self.pr = None
                 self.last_check_filename = None
                 self.time_until_next_check = 0