+
+void tasktree_done_activate_cbk(GtkAction *action, gpointer data)
+{
+ struct task *t;
+
+ log_fct_enter();
+
+ t = ui_tasktree_get_selected_task();
+
+ if (t) {
+ tw_task_done(t->uuid);
+ refresh();
+ }
+
+ log_fct_exit();
+}
+
+void tasktree_start_activate_cbk(GtkAction *action, gpointer data)
+{
+ struct task *t;
+
+ log_fct_enter();
+
+ t = ui_tasktree_get_selected_task();
+
+ if (t) {
+ tw_task_start(t->uuid);
+ refresh();
+ }
+
+ log_fct_exit();
+}
+
+void tasktree_stop_activate_cbk(GtkAction *action, gpointer data)
+{
+ struct task *t;
+
+ log_fct_enter();
+
+ t = ui_tasktree_get_selected_task();
+
+ if (t) {
+ tw_task_stop(t->uuid);
+ refresh();
+ }
+
+ log_fct_exit();
+}