[IMP] project_long_term: Set focus and add icon on button on wizards

bzr revid: psi@tinyerp.co.in-20100323112625-wwpzyp2oeiyce3kb
This commit is contained in:
psi (Open ERP)
2010-03-23 16:56:25 +05:30
parent 1abdc87451
commit e2067637dc
3 changed files with 5 additions and 5 deletions
@@ -165,8 +165,8 @@ class wizard_compute_phases(wizard.interface):
'init': {
'actions': [],
'result': {'type': 'form', 'arch': compute_form, 'fields': compute_fields, 'state':[
('end', 'Cancel'),
('compute', 'Compute')
('end', 'Cancel', 'gtk-cancel'),
('compute', 'Compute', 'gtk-ok', True)
]},
},
@@ -147,8 +147,8 @@ class wizard_compute_tasks(wizard.interface):
'init': {
'actions': [],
'result': {'type': 'form', 'arch': compute_form, 'fields': compute_fields, 'state': [
('end', 'Cancel'),
('compute', 'Compute')
('end', 'Cancel', 'gtk-cancel'),
('compute', 'Compute', 'gtk-ok', True)
]},
},
'compute': {
@@ -139,7 +139,7 @@ class wizard_schedule_task(wizard.interface):
states = {
'init': {
'actions': [_compute_date],
'result': {'type':'form','arch':success_msg,'fields':{}, 'state':[('end', 'Ok')]},
'result': {'type':'form','arch':success_msg,'fields':{}, 'state':[('end', 'Ok', 'gtk-ok', True)]},
}
}
wizard_schedule_task('phase.schedule.tasks')