GNOME Bugzilla – Bug 562157
Write-Protect Individual Tomboy Notes
Last modified: 2017-07-31 12:35:19 UTC
Sometimes in a Tomboy note I put valuable info -- a phone number or scrap of code -- that I want to make sure I don't want to corrupt. I've found that, in accessing that same info later, it's very easy to corrupt the info, e.g., in copying and pasting it or something. It would be good if there were an easy way to write-protect individual Tomboy notes. I know I could locate the individual note file and change the permissions, but that's a cumbersome process that involves doing a text search through multiple files. It would be much better be able to do this on the fly, and to invididual notes.
I agree, this feature should be part of tomboy's core features.
Hi All, I've create a preliminary code as tomboy addin. It work greate, I can write protect individual notes. BUT! I can't save it's state on file, so every time I restart my tomboy, the note is writeable again (doh). The problem is, If I want to make it permanent, I have to write <read-only>1</read-only> to note files (*.note). But I can't implement it with just addin, I have to hack NoteArchiver on Note.cs. So my question is: is there a way to implement it without hack the Note.cs?
(In reply to comment #2) > So my question is: is there a way to implement it without hack the Note.cs? > You could try to use a tag for this. Maybe something like 'system:read-only' would fit.
Thank you Stefan, I've released it here: http://bayu.freelancer.web.id/2008/12/13/tomboy-addinread-only-note/
In Tomboy 1.2, we now have a Note.Enabled property that is used by autosync. This could be used by add-ins.
(In reply to comment #5) > In Tomboy 1.2, we now have a Note.Enabled property that is used by autosync. > > This could be used by add-ins. Actually, that might not be the best thing. It desensitizes the toolbar and a bunch of other things that you might still want in the case of a read-only note. Maybe I'll tweak this for 1.4.
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: https://github.com/tomboy-notes/tomboy/issues/ Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. We are sorry for the inconvenience.