mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +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
|
@Override
|
||||||
public Component getToolbarPresenter() {
|
public Component getToolbarPresenter() {
|
||||||
ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
|
//ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
|
||||||
toolbarButton.setIcon(icon);
|
//toolbarButton.setIcon(icon);
|
||||||
|
toolbarButton.setText(this.getName());
|
||||||
return toolbarButton;
|
return toolbarButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,8 +114,9 @@ public final class CaseCloseAction extends CallableSystemAction implements Prese
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Component getToolbarPresenter() {
|
public Component getToolbarPresenter() {
|
||||||
ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
|
//ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
|
||||||
toolbarButton.setIcon(icon);
|
//toolbarButton.setIcon(icon);
|
||||||
|
toolbarButton.setText(this.getName());
|
||||||
return toolbarButton;
|
return toolbarButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@
|
|||||||
</folder>
|
</folder>
|
||||||
<folder name="Toolbars">
|
<folder name="Toolbars">
|
||||||
<folder name="File">
|
<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="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseNewAction"/>
|
||||||
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseNewAction"/>
|
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseNewAction"/>
|
||||||
<attr name="iconBase" stringvalue="org/sleuthkit/autopsy/images/new-icon.png"/>
|
<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="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/>
|
||||||
<attr name="noIconInMenu" boolvalue="false"/>
|
<attr name="noIconInMenu" boolvalue="false"/>
|
||||||
<attr name="position" intvalue="200"/>
|
<attr name="position" intvalue="200"/>
|
||||||
</file>
|
</file>-->
|
||||||
<file name="org-sleuthkit-autopsy-casemodule-CaseCloseAction.instance">
|
<file name="org-sleuthkit-autopsy-casemodule-CaseCloseAction.instance">
|
||||||
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseCloseAction"/>
|
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseCloseAction"/>
|
||||||
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseCloseAct"/>
|
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseCloseAct"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user