After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627075 - Select new notebook note body with default content
Select new notebook note body with default content
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: main
git master
Other Linux
: Normal normal
: ---
Assigned To: Aurimas Černius
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-16 18:33 UTC by Aurimas Černius
Modified: 2011-02-27 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the bug. (1.32 KB, patch)
2010-08-16 18:33 UTC, Aurimas Černius
none Details | Review
A method to find template note. (2.96 KB, patch)
2011-02-19 18:09 UTC, Aurimas Černius
none Details | Review
Proposed fix. (1.49 KB, patch)
2011-02-19 18:10 UTC, Aurimas Černius
none Details | Review

Description Aurimas Černius 2010-08-16 18:33:22 UTC
Created attachment 167993 [details] [review]
Patch to fix the bug.

When creating new note in notebook, the note body is not selected.
I think it should be selected, when content of template note is (almost) equal to default content.

Proposed fix attached. Patch requires Bug 627072 to be committed.
Comment 1 Aurimas Černius 2011-02-19 18:09:35 UTC
Created attachment 181340 [details] [review]
A method to find template note.
Comment 2 Aurimas Černius 2011-02-19 18:10:31 UTC
Created attachment 181341 [details] [review]
Proposed fix.

Updated patch for current master. Requires patch 181340: A method to find template note.
Comment 3 Aurimas Černius 2011-02-27 17:25:50 UTC
Committed both patches.