Fixes bug 2686344: "Run" button doesn't switch to "Run Project" button
The logic to determine if a project's main class has been set and is runnable was faulty. It uses the directory the project file is in, not the project root.
Authored by: mgricken 2009-03-13
Parent: [r4809]
Child: [r4811]