X-Git-Url: http://git.phpeclipse.com

diff --git a/archive/net.sourceforge.phpeclipse.news/src/net/sourceforge/phpeclipse/news/Plugin.java b/archive/net.sourceforge.phpeclipse.news/src/net/sourceforge/phpeclipse/news/Plugin.java
index 424e081..37e7b2e 100644
--- a/archive/net.sourceforge.phpeclipse.news/src/net/sourceforge/phpeclipse/news/Plugin.java
+++ b/archive/net.sourceforge.phpeclipse.news/src/net/sourceforge/phpeclipse/news/Plugin.java
@@ -1,5 +1,6 @@
 package net.sourceforge.phpeclipse.news;
 
+import java.io.File;
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.Timer;
@@ -104,7 +105,10 @@ public class Plugin extends AbstractUIPlugin {
    */
   protected void initializeDefaultPreferences(IPreferenceStore store) {
     store.setDefault(REFRESH_INTERVAL_PREFERENCE, DEFAULT_REFRESH_INTERVAL);
-    store.setDefault(BROWSER_PREFERENCE, DEFAULT_BROWSER);
+    File file = new File(DEFAULT_BROWSER);
+    if (file.exists()) {
+      store.setDefault(BROWSER_PREFERENCE, DEFAULT_BROWSER);
+    }
     store.setDefault(BANNED_ITEMS_PREFERENCE, DEFAULT_BANNED_ITEMS);
     store.setDefault(FORCE_CACHE_PREFERENCE, DEFAULT_FORCE_CACHE);
   }