package net.sourceforge.phpeclipse.news;
+import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Timer;
*/
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);
}