mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Toolbar button changes
This commit is contained in:
parent
19f13f6d0a
commit
657c6cc007
@ -186,8 +186,9 @@ public final class AddImageAction extends CallableSystemAction implements Presen
|
||||
*/
|
||||
@Override
|
||||
public Component getToolbarPresenter() {
|
||||
ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
|
||||
toolbarButton.setIcon(icon);
|
||||
//ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
|
||||
//toolbarButton.setIcon(icon);
|
||||
toolbarButton.setText(this.getName());
|
||||
return toolbarButton;
|
||||
}
|
||||
|
||||
|
@ -114,8 +114,9 @@ public final class CaseCloseAction extends CallableSystemAction implements Prese
|
||||
*/
|
||||
@Override
|
||||
public Component getToolbarPresenter() {
|
||||
ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
|
||||
toolbarButton.setIcon(icon);
|
||||
//ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
|
||||
//toolbarButton.setIcon(icon);
|
||||
toolbarButton.setText(this.getName());
|
||||
return toolbarButton;
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@
|
||||
</folder>
|
||||
<folder name="Toolbars">
|
||||
<folder name="File">
|
||||
<file name="org-sleuthkit-autopsy-casemodule-NewCaseAct.instance">
|
||||
<!--<file name="org-sleuthkit-autopsy-casemodule-NewCaseAct.instance">
|
||||
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseNewAction"/>
|
||||
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseNewAction"/>
|
||||
<attr name="iconBase" stringvalue="org/sleuthkit/autopsy/images/new-icon.png"/>
|
||||
@ -205,7 +205,7 @@
|
||||
<attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/>
|
||||
<attr name="noIconInMenu" boolvalue="false"/>
|
||||
<attr name="position" intvalue="200"/>
|
||||
</file>
|
||||
</file>-->
|
||||
<file name="org-sleuthkit-autopsy-casemodule-CaseCloseAction.instance">
|
||||
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseCloseAction"/>
|
||||
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseCloseAct"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user