Fix #759.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / WebUI.java
index adc6a51..84b2c24 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Christopher Lenz - initial implementation
  *
- * $Id: WebUI.java,v 1.10 2007-08-23 06:42:09 toshihiro Exp $
+ * $Id: WebUI.java,v 1.11 2007-11-08 01:37:06 scorphus Exp $
  */
 
 package net.sourceforge.phpeclipse.ui;
@@ -168,11 +168,12 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants {
        protected void initializeDefaultPreferences(IPreferenceStore store) {
                store.setDefault(PHP_LOCALHOST_PREF, "http://localhost");
                store.setDefault(PHP_DOCUMENTROOT_PREF, getWorkspace().getRoot()
-                               .getLocation().toString());
+                               .getFullPath().toString());
                // store.setDefault(PHP_BOOKMARK_DEFAULT, "");
 
                store.setDefault(PHP_AUTO_PREVIEW_DEFAULT, "false");
                store.setDefault(PHP_BRING_TO_TOP_PREVIEW_DEFAULT, "false");
+               store.setDefault(PHP_STICKY_BROWSER_URL_DEFAULT, "false");
                // store.setDefault(PHP_SHOW_HTML_FILES_LOCAL, "true");
                // store.setDefault(PHP_SHOW_XML_FILES_LOCAL, "false");
        }