[gnome-todo] task-list-view: Add trace message



commit a8b40eb9d232a8bb68e7431877b801e2101c080e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Apr 3 21:45:59 2020 -0300

    task-list-view: Add trace message

 src/task-list-view/gtd-task-list-view.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/task-list-view/gtd-task-list-view.c b/src/task-list-view/gtd-task-list-view.c
index b640286..38673bb 100644
--- a/src/task-list-view/gtd-task-list-view.c
+++ b/src/task-list-view/gtd-task-list-view.c
@@ -877,6 +877,12 @@ on_drop_target_drag_drop_cb (GtkDropTarget   *drop_target,
           GTD_RETURN (FALSE);
         }
 
+      GTD_TRACE_MSG ("Making '%s' (%s) subtask of '%s' (%s)",
+                     gtd_task_get_title (source_task),
+                     gtd_object_get_uid (GTD_OBJECT (source_task)),
+                     gtd_task_get_title (new_parent_task),
+                     gtd_object_get_uid (GTD_OBJECT (new_parent_task)));
+
       gtd_task_add_subtask (new_parent_task, source_task);
     }
   else


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