Skip to content

Commit

Permalink
MONDRIAN: Integrated change #13011, fixed bug introduced by PSW-55, c…
Browse files Browse the repository at this point in the history
…ube resource was being used as productIcon and as cube in tree. I've created a separate "productIcon" resource reference.

[git-p4: depot-paths = "//open/mondrian-release/3.1/": change = 13012]
  • Loading branch information
Will Gorman committed Aug 18, 2009
1 parent 4175ba4 commit 5202e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/mondrian/gui/Workbench.java
Expand Up @@ -117,7 +117,7 @@ public Workbench() {

ImageIcon icon = new javax.swing.ImageIcon(
myClassLoader.getResource(
getResourceConverter().getGUIReference("cube")));
getResourceConverter().getGUIReference("productIcon")));

this.setIconImage(icon.getImage());
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/mondrian/gui/resources/gui.properties
Expand Up @@ -11,7 +11,8 @@ addUserDefinedFunction=mondrian/gui/resources/addUserDefinedFunction24.gif
addCalculatedMember=mondrian/gui/resources/addCalculatedMember24.gif
addRole=mondrian/gui/resources/addRole24.gif

cube=mondrian/gui/resources/schema_32.png
productIcon=mondrian/gui/resources/schema_32.png
cube=mondrian/gui/resources/cube24.gif
column=mondrian/gui/resources/column24.gif
calculatedMember=mondrian/gui/resources/calculatedMember24.gif
dimension=mondrian/gui/resources/dimension24.gif
Expand Down

0 comments on commit 5202e52

Please sign in to comment.