summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
76893a2)
logging.info("libnotizen, init")
self._noteslist = simple_list.SimpleList()
logging.info("libnotizen, init")
self._noteslist = simple_list.SimpleList()
- self._noteslist.set_eventfunction__cursor_changed(self._update_noteslist)
+ self._noteslist.set_eventfunction_cursor_changed(self._update_noteslist)
self._noteslist.set_size_request(250, -1)
self._noteslist.set_size_request(250, -1)
if self._pos == -1 or self.noteId == -1:
self._pos = -1
self.noteId = str(uuid.uuid4())
if self._pos == -1 or self.noteId == -1:
self._pos = -1
self.noteId = str(uuid.uuid4())
- self._db.save_note(self.noteId, buf, self._categoryName)
+ self._db.saveNote(self.noteId, buf, self._categoryName)
self._noteslist.append_item(self._get_title(buf), self.noteId)
self._pos = self._noteslist.select_last_item()
else:
self._noteslist.append_item(self._get_title(buf), self.noteId)
self._pos = self._noteslist.select_last_item()
else:
- self._db.save_note(self.noteId, buf, self._categoryName)
+ self._db.saveNote(self.noteId, buf, self._categoryName)
self._topBox.define_this_category()
self._topBox.define_this_category()
if key == "new" or data == "new":
#both methods supported click add note or new note (first one disabled)
self.noteId = str(uuid.uuid4())
if key == "new" or data == "new":
#both methods supported click add note or new note (first one disabled)
self.noteId = str(uuid.uuid4())
- self._db.save_note(self.noteId, "", self._categoryName)
+ self._db.saveNote(self.noteId, "", self._categoryName)
self._pos = -1
self._noteslist.append_item("", self.noteId)
self._noteBodyView.get_buffer().set_text("")
self._pos = -1
self._noteslist.append_item("", self.noteId)
self._noteBodyView.get_buffer().set_text("")