aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2008-07-14 16:29:25 +0000
committerDamian Minkov <damencho@jitsi.org>2008-07-14 16:29:25 +0000
commit795fac7d71f64c1cf8db64ed1a896633ecc57a46 (patch)
treeea00e453c6721ae4c620aae18963dc91462c0165 /src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java
parent4922ad2ddd75f8b35dc369536ddcbe81ccf7a05e (diff)
downloadjitsi-795fac7d71f64c1cf8db64ed1a896633ecc57a46.zip
jitsi-795fac7d71f64c1cf8db64ed1a896633ecc57a46.tar.gz
jitsi-795fac7d71f64c1cf8db64ed1a896633ecc57a46.tar.bz2
Resource Management Service and its implementation. The service holds all resources and all bundles(except configuration service) use it to retrieve i18n strings,images,settings...
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java b/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java
index c90e660..c1b8573 100644
--- a/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java
@@ -77,8 +77,8 @@ public class ProtocolIconYahooImpl
* @return The image for the given identifier.
*/
public static byte[] loadIcon(String imagePath) {
- InputStream is = ProtocolIconYahooImpl.class
- .getClassLoader().getResourceAsStream(imagePath);
+ InputStream is =
+ YahooActivator.getResources().getImageInputStreamForPath(imagePath);
byte[] icon = null;
try {