From: David ‘Bombe’ Roden Date: Sun, 25 May 2008 11:02:55 +0000 (+0200) Subject: add icon to new node action X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=04d06a06badc0880b62c6c64d3a659aabd22f82c;p=jSite2.git add icon to new node action --- diff --git a/resources/node-new.png b/resources/node-new.png new file mode 100644 index 0000000..905561c Binary files /dev/null and b/resources/node-new.png differ diff --git a/src/net/pterodactylus/jsite/gui/SwingInterface.java b/src/net/pterodactylus/jsite/gui/SwingInterface.java index eb5ff26..084215c 100644 --- a/src/net/pterodactylus/jsite/gui/SwingInterface.java +++ b/src/net/pterodactylus/jsite/gui/SwingInterface.java @@ -61,7 +61,6 @@ import net.pterodactylus.util.logging.LoggingListener; * The Swing user interface. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class SwingInterface implements CoreListener, LoggingListener, PropertyChangeListener { @@ -545,7 +544,7 @@ public class SwingInterface implements CoreListener, LoggingListener, PropertyCh } languageActions.add(languageAction); } - addNodeAction = new I18nAction("mainWindow.menu.node.item.addNode") { + addNodeAction = new I18nAction("mainWindow.menu.node.item.addNode", IconLoader.loadIcon("/node-new.png")) { /** * {@inheritDoc}