condemil/Gist — pull request #84 by Steelsouls (2013-05-06 23:22:11+00:00)
Title: Display file name instead of description for 'open gist' menu

I carefully craft my gist titles, so it was counterproductive for the 'open gist' menu to only show descriptions.

The Gist API returns the file name inside a dictionary, so first .get('files'.
Then list() the files dict, which returns an array with 1 entry.
Finally, replaced 'description' with file_name[0]

I am submitting this as a pull for the main repo because I assume this is the intended behavior. If not maybe this functionality could be included as a config option?