Author: timotei
Date: Fri Jul 15 23:09:38 2011
New Revision: 50331

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50331&view=rev
Log:
eclipse plugin: Fix the setupWorkspace, by using
the default install instead of the null one

Modified:
    trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WorkspaceUtils.java

Modified: 
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WorkspaceUtils.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WorkspaceUtils.java?rev=50331&r1=50330&r2=50331&view=diff
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WorkspaceUtils.java 
(original)
+++ trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/utils/WorkspaceUtils.java 
Fri Jul 15 23:09:38 2011
@@ -326,12 +326,12 @@
             GUIUtils.showInfoMessageBox( Messages.WorkspaceUtils_0 );
         }
 
-        if (!checkPathsAreSet( null, false ))
+        if (!checkPathsAreSet( Preferences.getDefaultInstallName( ), false ))
         {
             PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(
                     WesnothPlugin.getShell(), 
"org.wesnoth.preferences.InstallsPage", null, null); //$NON-NLS-1$
             pref.open();
-            if ( !checkPathsAreSet ( null, true ) )
+            if ( !checkPathsAreSet ( Preferences.getDefaultInstallName( ), 
true ) )
             {
                 GUIUtils.showErrorMessageBox( Messages.WorkspaceUtils_7 );
                 return;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to