From: David ‘Bombe’ Roden Date: Thu, 20 Sep 2012 13:12:46 +0000 (+0200) Subject: Forward web of trust interface to project page to key dialog. X-Git-Tag: 0.11^2~10^2~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d5a10e0d657299635272fe3f4b3bb79fe13d25d7;p=jSite.git Forward web of trust interface to project page to key dialog. --- diff --git a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java index 0c508b5..2fc5716 100644 --- a/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java +++ b/src/main/java/de/todesbaum/jsite/gui/ProjectPage.java @@ -629,6 +629,7 @@ public class ProjectPage extends TWizardPage implements ListSelectionListener, D KeyDialog keyDialog = new KeyDialog(freenetInterface, wizard); keyDialog.setPrivateKey(selectedProject.getInsertURI()); keyDialog.setPublicKey(selectedProject.getRequestURI()); + keyDialog.setOwnIdentities(webOfTrustInterface.getOwnIdentities()); keyDialog.setVisible(true); if (!keyDialog.wasCancelled()) { String originalPublicKey = selectedProject.getRequestURI(); diff --git a/src/main/java/de/todesbaum/jsite/main/Main.java b/src/main/java/de/todesbaum/jsite/main/Main.java index 373ac3d..f91cfd6 100644 --- a/src/main/java/de/todesbaum/jsite/main/Main.java +++ b/src/main/java/de/todesbaum/jsite/main/Main.java @@ -341,6 +341,7 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen projectPage.setName("page.project"); projectPage.setProjects(configuration.getProjects()); projectPage.setFreenetInterface(freenetInterface); + projectPage.setWebOfTrustInterface(webOfTrustInterface); projectPage.addListSelectionListener(this); pages.put(PageType.PAGE_PROJECTS, projectPage);