Revision 128 org.gvsig.toolbox/trunk/org.gvsig.toolbox/org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/history/History.java

View differences:

History.java
13 13

  
14 14
import es.unex.sextante.core.GeoAlgorithm;
15 15
import es.unex.sextante.core.Sextante;
16
import es.unex.sextante.gui.core.SextanteGUI;
16 17

  
17 18
/**
18 19
 * A class used to store the history of algorithms and commands executed by sextante. All of them are stored as command-line
......
158 159

  
159 160
   private static String getHistoryFile() {
160 161

  
161
      String sPath = System.getProperty("user.home") + File.separator + "sextante";
162
        String sPath = SextanteGUI.getSextanteHomePath();
162 163

  
163
      final File sextanteFolder = new File(sPath);
164
      if (!sextanteFolder.exists()) {
165
         sextanteFolder.mkdir();
166
      }
164
        final File sextanteFolder = new File(sPath);
165
        if (!sextanteFolder.exists()) {
166
           sextanteFolder.mkdir();
167
        }
167 168

  
168
      sPath = sPath + File.separator + "sextante.history";
169

  
170
      return sPath;
171

  
169
        sPath = sPath + File.separator + "toolbox.history";
170
        return sPath;
172 171
   }
173 172

  
174 173

  

Also available in: Unified diff