[gnome-notes] window-base: don't show notebooks in the note list
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] window-base: don't show notebooks in the note list
- Date: Tue, 4 May 2021 13:10:21 +0000 (UTC)
commit 21440ef37bf5eaa23a5514b4393332963dc6c2e9
Author: Jonathan Kang <jonathankang gnome org>
Date: Tue Feb 2 22:17:51 2021 +0800
window-base: don't show notebooks in the note list
Notebooks are shown as a popover in the headerbar now. Hide them in
the note list.
src/bjb-controller.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/bjb-controller.c b/src/bjb-controller.c
index 6a9e2e1..5796c72 100644
--- a/src/bjb-controller.c
+++ b/src/bjb-controller.c
@@ -244,6 +244,9 @@ bjb_controller_add_item (BjbController *self,
&& biji_note_obj_is_template (BIJI_NOTE_OBJ (item)))
return;
+ /* Exclude notebooks. */
+ if (BIJI_IS_NOTEBOOK (item))
+ return;
if (sibling)
gtk_list_store_insert_before (store, &iter, sibling);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]