status bar msg

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@408 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
emijrp 12 years ago
parent 2891c5c36a
commit 030b9f9721

@ -273,7 +273,7 @@ class App:
levels = { 'ok': 'lightgreen', 'warning': 'yellow', 'error': 'red' }
if levels.has_key(level.lower()):
print '%s: %s' % (level.upper(), msg)
self.status.config(text=msg, background=levels[level.lower()])
self.status.config(text='%s: %s' % (level.upper(), msg), background=levels[level.lower()])
else:
print msg
self.status.config(text=msg, background='grey')

Loading…
Cancel
Save