mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
update to getTypeSpecificID
This commit is contained in:
parent
4269e6bc7c
commit
22c53dd4f9
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2017 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -84,7 +84,7 @@ class AccountsRootChildren extends ChildFactory<AccountDeviceInstanceKey> {
|
|||||||
this.accountDeviceInstanceKey = accountDeviceInstanceKey;
|
this.accountDeviceInstanceKey = accountDeviceInstanceKey;
|
||||||
this.commsManager = commsManager;
|
this.commsManager = commsManager;
|
||||||
this.account = accountDeviceInstanceKey.getAccountDeviceInstance().getAccount();
|
this.account = accountDeviceInstanceKey.getAccountDeviceInstance().getAccount();
|
||||||
setName(account.getAccountUniqueID());
|
setName(account.getTypeSpecificID());
|
||||||
setIconBaseWithExtension("org/sleuthkit/autopsy/communications/images/" + Utils.getIconFileName(account.getAccountType()));
|
setIconBaseWithExtension("org/sleuthkit/autopsy/communications/images/" + Utils.getIconFileName(account.getAccountType()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2017 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -80,7 +80,7 @@ final class MessageBrowser extends javax.swing.JPanel implements ExplorerManager
|
|||||||
if (selectedNodes.length == 1) {
|
if (selectedNodes.length == 1) {
|
||||||
final AccountDeviceInstance accountDeviceInstance = adiNode.getAccountDeviceInstance();
|
final AccountDeviceInstance accountDeviceInstance = adiNode.getAccountDeviceInstance();
|
||||||
accountDeviceInstances = Collections.singleton(accountDeviceInstance);
|
accountDeviceInstances = Collections.singleton(accountDeviceInstance);
|
||||||
messagesResultPanel.setPath(accountDeviceInstance.getAccount().getAccountUniqueID());
|
messagesResultPanel.setPath(accountDeviceInstance.getAccount().getTypeSpecificID());
|
||||||
} else {
|
} else {
|
||||||
accountDeviceInstances = Stream.of(selectedNodes)
|
accountDeviceInstances = Stream.of(selectedNodes)
|
||||||
.map(node -> (AccountDeviceInstanceNode) node)
|
.map(node -> (AccountDeviceInstanceNode) node)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user