[gnome-todo/wip/gbsneto/subtasks] today, scheduled: don't handle subtasks



commit 412f86702f36c70c22ef409c260f34bb4c688959
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 14 16:44:57 2016 -0300

    today, scheduled: don't handle subtasks

 plugins/scheduled-panel/gtd-panel-scheduled.c |    1 +
 plugins/today-panel/gtd-panel-today.c         |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/scheduled-panel/gtd-panel-scheduled.c b/plugins/scheduled-panel/gtd-panel-scheduled.c
index db1083a..169d7ea 100644
--- a/plugins/scheduled-panel/gtd-panel-scheduled.c
+++ b/plugins/scheduled-panel/gtd-panel-scheduled.c
@@ -485,6 +485,7 @@ gtd_panel_scheduled_init (GtdPanelScheduled *self)
 
   /* The main view */
   self->view = gtd_task_list_view_new ();
+  gtd_task_list_view_set_handle_subtasks (GTD_TASK_LIST_VIEW (self->view), FALSE);
   gtd_task_list_view_set_show_list_name (GTD_TASK_LIST_VIEW (self->view), TRUE);
 
   gtk_widget_set_hexpand (self->view, TRUE);
diff --git a/plugins/today-panel/gtd-panel-today.c b/plugins/today-panel/gtd-panel-today.c
index f26063e..66f300c 100644
--- a/plugins/today-panel/gtd-panel-today.c
+++ b/plugins/today-panel/gtd-panel-today.c
@@ -312,6 +312,7 @@ gtd_panel_today_init (GtdPanelToday *self)
 
   /* The main view */
   self->view = gtd_task_list_view_new ();
+  gtd_task_list_view_set_handle_subtasks (GTD_TASK_LIST_VIEW (self->view), FALSE);
   gtd_task_list_view_set_show_list_name (GTD_TASK_LIST_VIEW (self->view), TRUE);
   gtd_task_list_view_set_default_date (GTD_TASK_LIST_VIEW (self->view), now);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]