Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37755974
en ru br
ALT Linux repositórios
S:3.10-alt1

Group :: Terminais
RPM: guake

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: guake-alt-add-glade-l10n.patch
Download


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:
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009