diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java index 714d6be097..adf76d5ff9 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java @@ -133,14 +133,13 @@ public class WWFActivity extends ADForm implements EventListener fAnswerList.setMold("select"); - if (ThemeManager.isUseFontIconForImage()) + if (ThemeManager.isUseFontIconForImage()) { bZoom.setIconSclass("z-icon-Zoom"); - else - bZoom.setImage(ThemeManager.getThemeResource("images/Zoom16.png")); - if (ThemeManager.isUseFontIconForImage()) bOK.setIconSclass("z-icon-Ok"); - else + } else { + bZoom.setImage(ThemeManager.getThemeResource("images/Zoom16.png")); bOK.setImage(ThemeManager.getThemeResource("images/Ok16.png")); + } MLookup lookup = MLookupFactory.get(Env.getCtx(), m_WindowNo, 0, 10443, DisplayType.Search); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java index 52a4d34033..019b149497 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java @@ -47,6 +47,7 @@ import org.zkoss.zul.Vbox; * Contributors: * Deepak Pansheriya - showing only notes message */ +@Deprecated // replaced with DPDocumentStatus public class DPActivities extends DashboardPanel implements EventListener { /** * diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPRunningJobs.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPRunningJobs.java index 49eb37bbdb..75e0f275f4 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPRunningJobs.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPRunningJobs.java @@ -50,11 +50,10 @@ import org.zkoss.zul.Toolbar; import org.zkoss.zul.Vbox; public class DPRunningJobs extends DashboardPanel implements EventListener, EventHandler { - /** * */ - private static final long serialVersionUID = 1946438226234068194L; + private static final long serialVersionUID = -8515643315156488709L; private static final String AD_PINSTANCE_ID_ATTR = "AD_PInstance_ID"; @@ -194,7 +193,10 @@ public class DPRunningJobs extends DashboardPanel implements EventListener crossListMouseListener = new DragListener(); @@ -160,11 +164,15 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener migrateValueWithinYesList(event); } }; - - bUp.setImage(ThemeManager.getThemeResource("images/Parent24.png")); - bUp.addEventListener(Events.ON_CLICK, actionListener2); - bDown.setImage(ThemeManager.getThemeResource("images/Detail24.png")); + if (ThemeManager.isUseFontIconForImage()) { + bUp.setIconSclass("z-icon-Parent"); + bDown.setIconSclass("z-icon-Detail"); + } else { + bUp.setImage(ThemeManager.getThemeResource("images/Parent24.png")); + bDown.setImage(ThemeManager.getThemeResource("images/Detail24.png")); + } + bUp.addEventListener(Events.ON_CLICK, actionListener2); bDown.addEventListener(Events.ON_CLICK, actionListener2); vbox = new Vbox(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WGadgets.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WGadgets.java index 455ee06bfa..f1f34cee37 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WGadgets.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WGadgets.java @@ -155,10 +155,14 @@ public class WGadgets extends Window implements EventListener{ yesList.setSeltype("multiple"); noList.setSeltype("multiple"); - bAdd.setImage(ThemeManager.getThemeResource("images/Next24.png")); + if (ThemeManager.isUseFontIconForImage()) { + bAdd.setIconSclass("z-icon-Next"); + bRemove.setIconSclass("z-icon-Previous"); + } else { + bAdd.setImage(ThemeManager.getThemeResource("images/Next24.png")); + bRemove.setImage(ThemeManager.getThemeResource("images/Previous24.png")); + } bAdd.addEventListener(Events.ON_CLICK, actionListener); - - bRemove.setImage(ThemeManager.getThemeResource("images/Previous24.png")); bRemove.addEventListener(Events.ON_CLICK, actionListener); final EventListener moveListener = new MoveListener();