GNOME Bugzilla – Bug 610194
no way to rename notebooks
Last modified: 2010-12-30 20:46:42 UTC
There seems to be no way to rename notebooks that I could find.
Created attachment 161097 [details] [review] Ported Tomboy notebook rename feature. It seems, that additional modification for Tag is needed, to store Note::Ptr instead of Note*. Right now an additional search for note by uri needs to be done. But it seems to work for me.
Don't change the kind of pointer. A Note* is used to avoid circular references and work around circular definition, if I remember. There was a very serious reason back when I wrote this. You can call Note::shared_from_this() to get the Note::Ptr associated with it as Note inherit from "boost::enable_shared_from_this()"
Created attachment 161270 [details] [review] Ported Tomboy notebook rename feature. Updated patch according to Hubert's suggestions.
Created attachment 165652 [details] [review] Ported Tomboy notebook rename feature. Fixed some whitespace issues in previous patch.
Created attachment 166853 [details] [review] Ported Tomboy notebook rename feature. Removed "TODO" comment near the end, this issue fixed in bug 625679.
Created attachment 170439 [details] [review] Ported Tomboy notebook rename feature with enhancement. Improved patch. Do not lose notebook template note. Requires Bug 629876 to be committed.
Comment on attachment 166853 [details] [review] Ported Tomboy notebook rename feature. I put this back from obsolete, as fix in Bug 627539 makes it right again.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.