gui: Make File|Recent Files remember the correct encoding.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 12 May 2011 05:36:45 +0000 (22:36 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 13 May 2011 04:07:14 +0000 (21:07 -0700)
commit5592ebfc98cd6ca4285abf0771c877e3deb00ec8
tree75ec682e7ea5481961ef49df05e65ddc9e9e16f4
parent380110cc2fc8ee8511c2c4a1b3ee1da8a70cdb18
gui: Make File|Recent Files remember the correct encoding.

It's no good to have File|Open... able to open a file in any encoding
if later pulling up the same file with File|Recent Files screws that
up, so this commit fixes the problem by noting the charset in the
file's mime-type.
src/ui/gui/psppire-data-window.c
src/ui/gui/psppire-syntax-window.c
src/ui/gui/psppire-window.c
src/ui/gui/psppire-window.h