task = current_task;
- log_fct(__func__, "%d", task->id);
+ log_fct("%d", task->id);
buf = gtk_text_view_get_buffer(w_note);
void ui_taskpanel_init(GtkBuilder *builder)
{
- log_fct(__func__, "ENTER");
+ log_fct("ENTER");
w_note = GTK_TEXT_VIEW(gtk_builder_get_object(builder, "tasknote"));
enable(0);
- log_fct(__func__, "EXIT");
+ log_fct("EXIT");
}
static int priority_to_int(const char *str)
log_fct_enter();
if (current_task) {
- log_fct(__func__, "uuid=%d", current_task->uuid);
+ log_fct("uuid=%d", current_task->uuid);
tw_task_remove(current_task->uuid);
refresh();
}
return FALSE;
}
+
+int taskpanel_cancel_clicked_cbk(GtkButton *btn, gpointer data)
+{
+ log_fct_enter();
+
+ ui_taskpanel_update(current_task);
+
+ log_fct_exit();
+
+ return FALSE;
+}