Группа :: Терминалы
Пакет: guake
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: guake-alt-add-glade-l10n.patch
Скачать
Скачать
diff --git a/guake/simplegladeapp.py b/guake/simplegladeapp.py
index 22d45a2..92ab76d 100644
--- a/guake/simplegladeapp.py
+++ b/guake/simplegladeapp.py
@@ -30,7 +30,7 @@ import tokenize
class SimpleGladeApp:
- def __init__(self, path, root=None, domain=None):
+ def __init__(self, path, root=None, domain='guake'):
"""
Load a glade file specified by glade_filename, using root as
root widget and domain as the domain for translations.
@@ -61,6 +61,7 @@ class SimpleGladeApp:
self.glade = None
self.builder = Gtk.Builder()
+ self.builder.set_translation_domain(domain)
self.builder.add_from_file(self.glade_path)
if root: