From 2cca352d14c8b9b8a69a5a7bff2d85c59d76c080 Mon Sep 17 00:00:00 2001 From: Romain Kuntz Date: Mon, 23 Feb 2009 10:11:16 +0000 Subject: [PATCH] Initialize the bundleContext before starting growl (was causing an exception when trying to access resources string at startup) --- .../impl/growlnotification/GrowlNotificationActivator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationActivator.java b/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationActivator.java index e30190a9f..31346ac02 100644 --- a/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationActivator.java +++ b/src/net/java/sip/communicator/impl/growlnotification/GrowlNotificationActivator.java @@ -53,12 +53,12 @@ public void start(BundleContext bc) throws Exception logger.info("Growl Notification Plugin cannot be started " + "on JDK version " + version); } else { + bundleContext = bc; /* Create and start the Growl Notification service. */ new GrowlNotificationServiceImpl().start(bc); logger.info("Growl Notification Plugin ...[Started]"); } - bundleContext = bc; } public void stop(BundleContext bundleContext) throws Exception