Shows the steps to install information

This commit is contained in:
root
2010-09-20 11:44:48 +08:00
parent c929db5482
commit f6667ff543
8 changed files with 125 additions and 22 deletions

View File

@@ -103,7 +103,7 @@ def create_widget_sub(w, p_win):
# process action init
if 'action' in dir(w) and 'init' in w.action.dict:
getattr(sys.modules['ri_cmd'], w.action.dict['init'])()
getattr(sys.modules['ri_cmd'], w.action.dict['init'])(w_win)
# handle scroll bar for sub_widgets
if 'action' in dir(w):
@@ -162,7 +162,8 @@ def create_message_box(w):
''' display MessageBox
w - MessageBox instance'''
disp = getattr(tkMessageBox, w.tp)
disp(translate_text(w.title), translate_text(w.message))
code = disp(translate_text(w.title), translate_text(w.message))
return code
def create_top_window(w):
''' display TopWindow