adobe/brackets — pull request #1493 by njx (2012-08-29 01:23:21+00:00)
Title: Fixes to recent projects dropdown

* When the user selects a folder that no longer exists, remove it from the dropdown. (#1485) Note that there was a bug in ProjectManager where it wouldn't actually reject the promise in `openProject()` if the folder doesn't exist. It looks like the rejection was put in the wrong place (it didn't make sense where it was), so I moved it.

* Replace "in" with "-" in the dropdown (where we indicate the parent of the given folder) so we don't have to localize it.

* Hide the dropdown when the sidebar is hidden. To fix this, I added events to SidebarView that are triggered when the sidebar shows or hides.