IDEMPIERE-1379:Info Windows should have their own icon/image

add form and info window ico in menu
form icon download at:http://findicons.com/icon/169744/kdb_form?id=171681
This commit is contained in:
hieplq 2015-08-06 19:56:17 +08:00
parent 517f0299e1
commit d1fd021f94
1 changed files with 2 additions and 2 deletions

View File

@ -181,12 +181,12 @@ public abstract class AbstractMenuPanel extends Panel implements EventListener<E
} }
else if (mChildNode.isForm()) else if (mChildNode.isForm())
{ {
link.setImage(ThemeManager.getThemeResource("images/mWindow.png")); link.setImage(ThemeManager.getThemeResource("images/mForm.png"));
treeitem.setAttribute("menu.type", "form"); treeitem.setAttribute("menu.type", "form");
} }
else if (mChildNode.isInfo()) else if (mChildNode.isInfo())
{ {
link.setImage(ThemeManager.getThemeResource("images/mWindow.png")); link.setImage(ThemeManager.getThemeResource("images/mInfo.png"));
treeitem.setAttribute("menu.type", "info"); treeitem.setAttribute("menu.type", "info");
} }
else // Window else // Window