summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-01-25 14:35:59 +0100
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-01-25 14:35:59 +0100
commit848ca4f754567d140dd72f06e8fb4142fc7bc889 (patch)
treef4d4f36056dc12c88773ca63e5f8121fc79bd568 /DistUpgrade/DistUpgradeViewGtk.py
parent41a6ea707688e2e239ee75212888d01c219f39b1 (diff)
parent34a15f72ffcab2445332c72e3c0b030f0595b56f (diff)
downloadpython-apt-848ca4f754567d140dd72f06e8fb4142fc7bc889.tar.gz
* Merge from mvo
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index bf07c2b9..71762d6e 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -35,7 +35,7 @@ import os
from apt.progress import InstallProgress
from DistUpgradeView import DistUpgradeView
-from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp
+from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp, bindtextdomain
from gettext import gettext as _
@@ -179,6 +179,8 @@ class GtkDistUpgradeView(DistUpgradeView,SimpleGladeApp):
def __init__(self):
# FIXME: i18n must be somewhere relative do this dir
+ bindtextdomain("update-manager",os.path.join(os.getcwd(),"mo"))
+
SimpleGladeApp.__init__(self, "DistUpgrade.glade",
None, domain="update-manager")
self.window_main.set_keep_above(True)