ktechlab/ktechlab — pull request #22 by zoltanp (2013-08-31 09:27:27+00:00)
Title: mime types: add magic pattern to the circuit file type and fix the circuit-opened-as-text problem

this fixes the mimetype identification of circuit files on systems where the .circuit filetype is defined in multiple mime databases.
the beginning of the file is verified for a matching header, so the .circuit file won't be text/plain anymore.

Please note that we might need similar magic matching rule for the flowcode files, too.