diff options
author | Yana Stamcheva <yana@jitsi.org> | 2007-04-26 21:41:38 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2007-04-26 21:41:38 +0000 |
commit | 7f026aaca16899f720ba1425812e6b5cabd753ba (patch) | |
tree | 3e7c2784e3ea4d4f6732e89b7f15b2ded5ed5ae5 /src/net/java | |
parent | 68b11a2b5778ed2a281a7a918d90c2cf613837a9 (diff) | |
download | jitsi-7f026aaca16899f720ba1425812e6b5cabd753ba.zip jitsi-7f026aaca16899f720ba1425812e6b5cabd753ba.tar.gz jitsi-7f026aaca16899f720ba1425812e6b5cabd753ba.tar.bz2 |
check if the welcomeWindow exists, before trying to show in it the bundle that is currenly loading
Diffstat (limited to 'src/net/java')
-rw-r--r-- | src/net/java/sip/communicator/plugin/splashscreen/SplashScreenActivator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/splashscreen/SplashScreenActivator.java b/src/net/java/sip/communicator/plugin/splashscreen/SplashScreenActivator.java index fb7c38b..7710bf3 100644 --- a/src/net/java/sip/communicator/plugin/splashscreen/SplashScreenActivator.java +++ b/src/net/java/sip/communicator/plugin/splashscreen/SplashScreenActivator.java @@ -52,6 +52,8 @@ public class SplashScreenActivator public void bundleChanged(BundleEvent evt) { - welcomeWindow.setBundle(evt.getBundle().getHeaders().get("Bundle-Name").toString()); + if(welcomeWindow != null && welcomeWindow.isShowing()) + welcomeWindow.setBundle(evt.getBundle().getHeaders() + .get("Bundle-Name").toString()); } } |