To reproduce: 1. Open some file. 2. Modify it. 3. File->Revert. A dialog is displayed: "Failed to reload the file." but the file is reloaded anyway.
*** Bug 11133 has been marked as a duplicate of this bug. ***
Created attachment 5629 Patch The attached patch solves the problem. Apparently the return from mousepad_file_open was misinterpreted, 0 is success but when casted to boolean it yields false.
ACK. Trivial patch. Should be merged immediately :)
Applied right before releasing 0.4.0, thanks!
*** Bug 13621 has been marked as a duplicate of this bug. ***