public Note CreateNotebookNote() { string temp_title; Note template = GetTemplateNote(); NoteManager note_manager = Tomboy.DefaultNoteManager; temp_title = note_manager.GetUniqueName(Catalog.GetString("New Note"), note_manager.Notes.Count); Note note = note_manager.CreateNoteFromTemplate(temp_title, template); // Add the notebook tag note.AddTag(tag); return(note); }