diff options
author | Damian Minkov <damencho@jitsi.org> | 2008-07-14 16:29:25 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2008-07-14 16:29:25 +0000 |
commit | 795fac7d71f64c1cf8db64ed1a896633ecc57a46 (patch) | |
tree | ea00e453c6721ae4c620aae18963dc91462c0165 /src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolIconYahooImpl.java | |
parent | 4922ad2ddd75f8b35dc369536ddcbe81ccf7a05e (diff) | |
download | jitsi-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.java | 4 |
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 { |