[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user