Mercurial > libervia-backend
comparison frontends/quick_frontend/quick_app.py @ 119:ded2431cea5a
Primitivus: chat window / text sending.
Primitivus has now the most basics features \o/
- core: new getVersion method
- primitivus: new debug key (C-d), only work if SàT is in dev version (D in version)
- quick_app: new post_init method, used for automatique task like auto-plug
- primitivus: lists now use genericList (Box) or List (Flow)
- primitivus: List now manage correctly its size
- primitivus: new FocusFrame widget which manage focus changing with 'tab'
- primitivus: advancedEdit now manage 'click' signal
- primitivus: contactList now manager 'change' and 'click' signals
- primitivus: Chat window now working
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 05 Jul 2010 19:13:36 +0800 |
parents | 1f0fd6f03e2b |
children | 961e0898271f |
comparison
equal
deleted
inserted
replaced
118:76055a209ed9 | 119:ded2431cea5a |
---|---|
69 | 69 |
70 def __check_profile(self, profile): | 70 def __check_profile(self, profile): |
71 """Tell if the profile is currently followed by the application""" | 71 """Tell if the profile is currently followed by the application""" |
72 return profile in self.profiles.keys() | 72 return profile in self.profiles.keys() |
73 | 73 |
74 def postInit(self): | |
75 """Must be called after __init__, do all automatic task (auto plug profile)""" | |
76 if self.options.profile: | |
77 if not self.bridge.getProfileName(self.options.profile): | |
78 error(_("Trying to plug an unknown profile (%s)" % self.options.profile)) | |
79 else: | |
80 self.plug_profile(self.options.profile) | |
81 | |
74 def check_options(self): | 82 def check_options(self): |
75 """Check command line options""" | 83 """Check command line options""" |
76 usage=_(""" | 84 usage=_(""" |
77 %prog [options] | 85 %prog [options] |
78 | 86 |