59 |
|
|
60 |
# TODO: try to use stock items for basic functions (load/save...) |
# TODO: try to use stock items for basic functions (load/save...) |
61 |
|
|
62 |
label = name.decode('iso8859-1') # FIXME: load encoding from some other place |
# TODO: remove decode step, when gettext translations are send |
63 |
|
# in unicode instead of local encoding |
64 |
|
label = unicode(name,gConfigForms('textEncoding')) |
65 |
iconloc = userAction.getIconLocation(size="24x24") |
iconloc = userAction.getIconLocation(size="24x24") |
66 |
|
|
67 |
# Set the action icon if available |
# Set the action icon if available |