add icon to new node action
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 11:02:55 +0000 (13:02 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 11:02:55 +0000 (13:02 +0200)
resources/node-new.png [new file with mode: 0644]
src/net/pterodactylus/jsite/gui/SwingInterface.java

diff --git a/resources/node-new.png b/resources/node-new.png
new file mode 100644 (file)
index 0000000..905561c
Binary files /dev/null and b/resources/node-new.png differ
index eb5ff26..084215c 100644 (file)
@@ -61,7 +61,6 @@ import net.pterodactylus.util.logging.LoggingListener;
  * The Swing user interface.
  * 
  * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
- * @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}