Cleanup filetype_make_title() a bit and use it more
commitc674f0660ab9571c9071b84fc9eb38e1c6a60d4d
authorMatthew Brush <matt@geany.org>
Tue, 28 Jan 2014 01:04:38 +0000 (27 17:04 -0800)
committerMatthew Brush <matt@geany.org>
Tue, 28 Jan 2014 23:20:03 +0000 (28 15:20 -0800)
tree6e5680a47a1b648c7caf7d35f063528873aabc20
parent8449b5f9b17e38d36065096287518d4443e3e41b
Cleanup filetype_make_title() a bit and use it more

* Adds TITLE_NONE, TITLE_SCRIPT and TITLE_DOCUMENT.
* Only a few filetype titles were tweaked but we should review the
  rest as we could use TITLE_SCRIPT and TITLE_DOCUMENT a lot more
  probably.
* Make filetype_make_title() not care about GeanyFiletype type and
  return result instead of internally setting ft state.
src/filetypes.c