summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/wizard/wizard_update_module.py
diff options
context:
space:
mode:
authorced <>2007-08-06 08:24:21 +0000
committerced <>2007-08-06 08:24:21 +0000
commitc89f5f515e840647bb5fb3e90f9d0d9551f022b8 (patch)
tree5699434fa6fb9eeb856ef88659a07b80fb3d0f9f /bin/addons/base/module/wizard/wizard_update_module.py
parent8dfb2b7a0a1c13d613f583851c5305b3922b7a17 (diff)
base,base_setup: improve wizard
- use gtk-dialog-info instead of gtk-info - set default action bzr revid: ced-b18f17b6748fa8ae0146967fd520fb1ce9aad5a8
Diffstat (limited to 'bin/addons/base/module/wizard/wizard_update_module.py')
-rw-r--r--bin/addons/base/module/wizard/wizard_update_module.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/bin/addons/base/module/wizard/wizard_update_module.py b/bin/addons/base/module/wizard/wizard_update_module.py
index 0cab2804106..92df6d779a2 100644
--- a/bin/addons/base/module/wizard/wizard_update_module.py
+++ b/bin/addons/base/module/wizard/wizard_update_module.py
@@ -78,14 +78,20 @@ class wizard_update_module(wizard.interface):
states = {
'init': {
'actions': [_get_repositories],
- 'result': {'type': 'form', 'arch': arch, 'fields': fields, 'state':
- [('end', 'Cancel', 'gtk-cancel'),
- ('update', 'Check new modules', 'gtk-ok')]}
+ 'result': {'type': 'form', 'arch': arch, 'fields': fields,
+ 'state': [
+ ('end', 'Cancel', 'gtk-cancel'),
+ ('update', 'Check new modules', 'gtk-ok', True)
+ ]
+ }
},
'update': {
'actions': [_update_module],
'result': {'type': 'form', 'arch': arch_module, 'fields': fields_module,
- 'state': [('open_window', 'Ok', 'gtk-ok')]}
+ 'state': [
+ ('open_window', 'Ok', 'gtk-ok', True)
+ ]
+ }
},
'open_window': {
'actions': [],