file manager: Fix okButton updating.

update the okButton whenever the directory changes.
This fixes bug 15845, which was caused by trying to update the button before we had set the current directory, and bug 15464, which was due to the fact that we relied on "Selection changed" events to trigger button updates.

BUG=chromium-os:15845,chromium-os:15464
TEST=manual testing on chromeos-chrome on linux

Review URL: http://codereview.chromium.org/7109033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87732 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed