mono/monodevelop — pull request #201 by jmloeffler (2012-06-02 21:18:45+00:00)
Title: Fixed Bug 2489 - Preferences->Build->Assembly Folders buttons grayed out when removing folder.

The resulting TreeIter from the remove was not being checked for validity properly prior to attempting to reselect the next item in the list. Also, the PathChanged event on the folder entry control was not mapped to UpdateStatus() so the Add button was not being reenabled when the box was populated.

I fixed the iterator check so that it no longer throws the errors described in the bug attachment. I also added a handler for the PathChanged event so that as the user types or removes text in the folder entry box (or adds from the browse dialog) the status of the buttons is updated.