From 04d06a06badc0880b62c6c64d3a659aabd22f82c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 25 May 2008 13:02:55 +0200 Subject: [PATCH] add icon to new node action --- resources/node-new.png | Bin 0 -> 447 bytes src/net/pterodactylus/jsite/gui/SwingInterface.java | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 resources/node-new.png diff --git a/resources/node-new.png b/resources/node-new.png new file mode 100644 index 0000000000000000000000000000000000000000..905561c2590adcf5cb7eef967f26f129f478634d GIT binary patch literal 447 zcmV;w0YLtVP)Px$c}YY;R5;6>l20guVI0Rl@4MIEMU%3mIOyGxTsTbG!s4cObaFDKq$meX#?8q} zb6P2rWjU#plSFYOIY`+K_6HjgHnG=XP2So2lJD*Jd!Fz2`F)<}5zvrlaV`Wn(buY^ zv*>j64Is-FRkKV8V-Tac}orGRt210#zD!SZjj0VP!t7#vC(mr zQxrv3d|r?AeN*Z>sreG=bh>0;D)1CD7PAJoHZ%iPL)$^uFMrLuvp3002ovPDHLkV1f`R!Xy9y literal 0 HcmV?d00001 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} -- 2.7.4