infobars: Make document read-only while infobar is shown.
commit5117940ff6e6457b24e7ee0989d3092ff38bac7d
authorThomas Martitz <kugel@rockbox.org>
Tue, 20 May 2014 05:14:10 +0000 (20 07:14 +0200)
committerThomas Martitz <kugel@rockbox.org>
Sat, 24 May 2014 13:05:14 +0000 (24 15:05 +0200)
tree6c458674abb8b785f3647e9ab78dae58fd134d2a
parent43bff93046d891cdf250704d520e4785f5f07cd4
infobars: Make document read-only while infobar is shown.

This avoids accidental changes the file until the infobar is ackowledged. The
document can still be viewed and scrolled through but modifications and saving
are disabled. Of course ignoring the document by changing to another one is
also possible.
src/document.c
src/documentprivate.h