~diesch/xxgamma/trunk

« back to all changes in this revision

Viewing changes to src/trunk/xxgamma/__init__.py

  • Committer: Florian Diesch
  • Date: 2009-03-20 16:21:12 UTC
  • Revision ID: diesch@spamfence.net-20090320162112-x5qb6xn3vxtc0diz
use Peggy.setup_locales, include locales in packages, use translateable strings in .glade

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
class App(object):
93
93
 
94
 
    def __init__(self, profile):
 
94
    def __init__(self, profile):        
95
95
        self.peggy = peggy.Peggy('xxgamma')
 
96
        self.peggy.setup_locales()
96
97
        self.gladefile = self.peggy.get_glade('data/xxgamma.glade')
97
98
        self.gladefile.signal_autoconnect(self)
98
99
        self.main_win = self.gladefile.get_widget('main_win')