From 504d03ce7664e8fea6d13369ff9e2bd9b4fd15e4 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Tue, 9 Mar 2010 17:45:24 +0100 Subject: [PATCH] [IMP] hr_attendance: Add an icon for each button in the Sign/In/Out wizard bzr revid: stephane@openerp.com-20100309164524-fy9f95xmqgx1q2w3 --- addons/hr_attendance/wizard/sign_in_out.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/hr_attendance/wizard/sign_in_out.py b/addons/hr_attendance/wizard/sign_in_out.py index e67b886758e..8e022a3c44f 100644 --- a/addons/hr_attendance/wizard/sign_in_out.py +++ b/addons/hr_attendance/wizard/sign_in_out.py @@ -155,7 +155,11 @@ class wiz_si_so(wizard.interface): states = { 'init' : { 'actions' : [_get_empid], - 'result' : {'type' : 'form', 'arch' : si_so_form, 'fields' : si_so_fields, 'state' : [('end', 'Cancel'),('si_test', 'Sign in'),('so_test', 'Sign out')] } + 'result' : {'type' : 'form', 'arch' : si_so_form, 'fields' : si_so_fields, + 'state' : [('end', 'Cancel', 'gtk-cancel'), + ('si_test', 'Sign in', 'gtk-go-back'), + ('so_test', 'Sign out', 'gtk-go-forward')] + } }, 'si_test' : { 'actions' : [],