atom/atom — pull request #3266 by tolmasky (2014-08-14 00:32:53+00:00)
Title: Fix for missing titlebar menu on OS X.

On OS X, if you command click the title of a window that's associated with a document, you get a menu where each item is a parent of its path. (You can try this in Pages, Finder, Sublime, even Safari). This is currently missing in Atom. The fix is pretty straightforward, just call setRepresentedFilename (which is implemented to do nothing on other platforms in atom-shell).

![title-bar-menu](https://cloud.githubusercontent.com/assets/23753/3914633/7abea85c-234a-11e4-8baa-97228ab50c5a.gif)

Reviewed by @tolmasky.