comparison frontends/src/primitivus/status.py @ 1106:e2e1e27a3680

frontends: XMLUI refactoring + dialogs: - there are now XMLUIPanel and XMLUIDialog both inheriting from XMLUIBase - following dialogs are managed: - MessageDialog - NoteDialog - ConfirmDialog - FileDialog - XMLUI creation is now made using xmlui.create(...) instead of instanciating directly XMLUI - classes must be registed in frontends - "parent" attribute renamed to "_xmlui_parent" to avoid name conflicts with frontends toolkits
author Goffi <goffi@goffi.org>
date Wed, 13 Aug 2014 14:48:49 +0200
parents aa15453ec54d
children 62cba918cc63
comparison
equal deleted inserted replaced
1105:018bdd687747 1106:e2e1e27a3680
17 # You should have received a copy of the GNU Affero General Public License 17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from sat.core.i18n import _ 20 from sat.core.i18n import _
21 import urwid 21 import urwid
22 import copy
23 from urwid_satext import sat_widgets 22 from urwid_satext import sat_widgets
24 from sat_frontends.primitivus.xmlui import XMLUI
25 from sat_frontends.constants import Const as commonConst 23 from sat_frontends.constants import Const as commonConst
26 from sat_frontends.primitivus.constants import Const 24 from sat_frontends.primitivus.constants import Const
27 25
28 26
29 class StatusBar(urwid.Columns): 27 class StatusBar(urwid.Columns):