[gnome-todo/wip/gbsneto/subtasks: 12/27] task-list-view: sort listbox when list changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/gbsneto/subtasks: 12/27] task-list-view: sort listbox when list changes
- Date: Fri, 14 Oct 2016 14:42:09 +0000 (UTC)
commit 9cbe209f28649046a8e09ccd683a49e760e7bfad
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Oct 10 21:19:14 2016 -0300
task-list-view: sort listbox when list changes
src/gtd-task-list-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-task-list-view.c b/src/gtd-task-list-view.c
index 7525ed9..e02a367 100644
--- a/src/gtd-task-list-view.c
+++ b/src/gtd-task-list-view.c
@@ -1184,6 +1184,10 @@ gtd_task_list_view_set_task_list (GtdTaskListView *view,
"notify::color",
G_CALLBACK (gtd_task_list_view__color_changed),
view);
+ g_signal_connect_swapped (list,
+ "task-updated",
+ G_CALLBACK (gtk_list_box_invalidate_sort),
+ priv->listbox);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]