Mercurial > urwid-satext
comparison urwid_satext/files_management.py @ 32:818393067e54
example script for FileDialog
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Dec 2010 18:31:01 +0100 |
parents | 1aeb3540aa49 |
children | 875ff127b2dd |
comparison
equal
deleted
inserted
replaced
31:42cb54666fc2 | 32:818393067e54 |
---|---|
23 import sat_widgets | 23 import sat_widgets |
24 import os, os.path | 24 import os, os.path |
25 from xml.dom import minidom | 25 from xml.dom import minidom |
26 from logging import debug, info, error | 26 from logging import debug, info, error |
27 from time import time | 27 from time import time |
28 _ = unicode #FIXME: temporary workaround, the time to manage well i18n | |
28 | 29 |
29 class PathEdit(sat_widgets.AdvancedEdit): | 30 class PathEdit(sat_widgets.AdvancedEdit): |
30 """AdvancedEdit with manage file paths""" | 31 """AdvancedEdit with manage file paths""" |
31 | 32 |
32 def keypress(self, size, key): | 33 def keypress(self, size, key): |