Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit e8f3492

Browse files
committed
Merge pull request #81 from tiwiz/update-ui-proguard
Adds Proguard mapping icon
2 parents b71466e + 50bec81 commit e8f3492

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ClassySharkWS/src/com/google/classyshark/gui/panel/IconSchemes.java

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ public class IconSchemes {
1212
public static final String NEXT_ICON_PATH = ROOT_PATH + "ic_next" + EXTENSION;
1313
public static final String OPEN_ICON_PATH = ROOT_PATH + "ic_open" + EXTENSION;
1414
public static final String EXPORT_ICON_PATH = ROOT_PATH + "ic_export" + EXTENSION;
15+
public static final String MAPPING_ICON_PATH = ROOT_PATH + "ic_mappings" + EXTENSION;
1516
}

ClassySharkWS/src/com/google/classyshark/gui/panel/toolbar/Toolbar.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void actionPerformed(ActionEvent e) {
202202
private JButton buildMappingsButton() {
203203

204204
JButton result =
205-
new JButton(new ImageIcon(getClass().getResource(IconSchemes.EXPORT_ICON_PATH)));
205+
new JButton(new ImageIcon(getClass().getResource(IconSchemes.MAPPING_ICON_PATH)));
206206

207207
result.addActionListener(new ActionListener() {
208208
@Override
@@ -211,7 +211,7 @@ public void actionPerformed(ActionEvent e) {
211211
}
212212
});
213213

214-
result.setToolTipText("Mappings");
214+
result.setToolTipText("Import Proguard mapping file");
215215
result.setBorderPainted(false);
216216
result.setEnabled(true);
217217

262 Bytes
Loading

0 commit comments

Comments
 (0)