Add some new icons

This commit is contained in:
Cédric Krier committed 2008-06-07 19:00:04 +02:00
1 parent d6685f7693
commit 780665c700
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<tryton>
<data>
<menuitem name="Administration" id="menu_administration"
icon="tryton-system"/>
icon="tryton-preference-system"/>
<menuitem name="IR" id="menu_ir" parent="menu_administration"/>
<record model="ir.action.url" id="action_tryton">
+4
View File
@@ -10,6 +10,7 @@ def one_in(i, j):
return False
ICONS = [(x, x) for x in [
'tryton-accessories',
'tryton-attachment',
'tryton-clear',
'tryton-close',
@@ -18,6 +19,7 @@ ICONS = [(x, x) for x in [
'tryton-connect',
'tryton-copy',
'tryton-delete',
'tryton-development',
'tryton-dialog-error',
'tryton-dialog-information',
'tryton-dialog-warning',
@@ -28,6 +30,7 @@ ICONS = [(x, x) for x in [
'tryton-folder-new',
'tryton-folder-saved-search',
'tryton-fullscreen',
'tryton-graph',
'tryton-go-home',
'tryton-go-jump',
'tryton-go-next',
@@ -45,6 +48,7 @@ ICONS = [(x, x) for x in [
'tryton-open',
'tryton-package',
'tryton-preferences',
'tryton-preferences-system',
'tryton-preferences-system-session',
'tryton-presentation',
'tryton-print',
+1 -1
View File
@@ -98,7 +98,7 @@ class MenuitemTagHandler:
elif view_mode and view_mode.startswith('form'):
values['icon'] = 'tryton-new'
elif view_mode and view_mode.startswith('graph'):
values['icon'] = 'tryton-presentation'
values['icon'] = 'tryton-graph'
elif view_mode and view_mode.startswith('calendar'):
values['icon'] = 'tryton-calendar'
elif action_type == 'ir.action.url':