ide, installer: (#718) New Project/Open Dialog: Defaulting to HOME rather than workin...
authorJerome St-Louis <jerome@ecere.com>
Tue, 11 Mar 2014 05:21:59 +0000 (01:21 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 11 Mar 2014 05:26:49 +0000 (01:26 -0400)
commit0c8373c138838b2db2d8458625caeaef1ea93c2e
treee9f0e1f69939b05ff74163f76f2d8c29e632e0bc
parent5de69d4d0caf0daabf4005cf9dd92aabac63ad75
ide, installer: (#718) New Project/Open Dialog: Defaulting to HOME rather than working directory
- On Windows, the installer would set up these to point to the Samples folder on first run,
  but on Linux or if samples were opted out the current working directory could be very confusing.
- We should avoid using the current working directory as much as possible, as the IDE might be started
  from any directory at the command line. I believe the only remaining place where the cwd is used
  is for the Find in Files dialog default 'Search in' directory. The cwd is also changed and then
  restored when invoking the debugger or compiler.
ide/src/dialogs/NewProjectDialog.ec
ide/src/ide.ec
installer/src/installer.ec