mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Use resources instead of full path
This commit is contained in:
parent
5dc4d8af7d
commit
a3565f44c0
@ -140,7 +140,7 @@ public class OpenTimelineAction extends CallableSystemAction implements Presente
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Component getToolbarPresenter() {
|
public Component getToolbarPresenter() {
|
||||||
ImageIcon icon = new ImageIcon("Core/src/org/sleuthkit/autopsy/timeline/images/btn_icon_timeline_colorized_26.png"); //NON-NLS
|
ImageIcon icon = new ImageIcon(getClass().getResource("images/btn_icon_timeline_colorized_26.png")); //NON-NLS
|
||||||
toolbarButton.setIcon(icon);
|
toolbarButton.setIcon(icon);
|
||||||
toolbarButton.setText(this.getName());
|
toolbarButton.setText(this.getName());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user