Shows the steps to install information
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user