modified: ri_tk.py

modified:   ri_tk_cmd.py
	modified:   ../xml/interface.xm
    fix:
    main.help and prepar_installation information doesn't be writed
This commit is contained in:
fling
2010-10-20 14:10:21 +08:00
parent b26bdb3c9b
commit 297f953c5b
3 changed files with 7 additions and 3 deletions

View File

@@ -43,8 +43,10 @@ def set_help_info(s):
''' set help information in base widget'''
help = translate_text(s)
w = ri_widget.Widget.dict['main.help'].tk_widget
w.configure(state='normal')
w.delete(1.0,Tkinter.END)
w.insert(1.0,help)
w.configure(state='disable')
def create_widget(w):
''' w - widget instance '''

View File

@@ -396,6 +396,8 @@ def prepar_installation_init():
'''install information initialize'''
ins_info = ri_data.prepar_installation()
t= ri_widget.Widget.dict['prepar_installation.text'].tk_widget
t.configure(state='normal')
t.insert(1.0,ins_info)
t.configure(state='disable')
raid_raw_initialized = False

View File

@@ -43,7 +43,7 @@ row 4 | quit previous next |
</widget>
<widget type='Text' name='main.help'>
<widget_attribute width='30' state='normal'/>
<widget_attribute width='30' state='disable'/>
<grid_location row='2' column='0' padx='10' pady='10' sticky='NSWE'/>
</widget>
@@ -855,7 +855,7 @@ row 4 | |
<grid_location row='1' column='0' padx='30' sticky='WE'/>
</widget>
</widget>
<text key='#dependency.help'>
<English>
There are two kinds of dependent relationships. Dependent Functions and Dependent Packages.
@@ -1014,7 +1014,7 @@ row 4 | |
</text>
<text key='#Welcome'>
<English>Welcome to useLinx Rocky Secure Operating System v4.2</English>
<English>Welcome to use Linx Rocky Secure Operating System v4.2</English>
<Chinese>欢迎使用凝思磐石安全操作系统 v4.2</Chinese>
</text>