aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2007-04-26 21:41:38 +0000
committerYana Stamcheva <yana@jitsi.org>2007-04-26 21:41:38 +0000
commit7f026aaca16899f720ba1425812e6b5cabd753ba (patch)
tree3e7c2784e3ea4d4f6732e89b7f15b2ded5ed5ae5 /src/net/java
parent68b11a2b5778ed2a281a7a918d90c2cf613837a9 (diff)
downloadjitsi-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.java4
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());
}
}