[gnome-todo] task-list-view: invalidate headers and sorting on default date change



commit bda8e7ff1d2a0f0705a45cdf37411290b6963164
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Apr 28 21:05:28 2017 -0300

    task-list-view: invalidate headers and sorting on default date change

 src/gtd-task-list-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-task-list-view.c b/src/gtd-task-list-view.c
index 1b97d17..1ba77ef 100644
--- a/src/gtd-task-list-view.c
+++ b/src/gtd-task-list-view.c
@@ -2289,6 +2289,9 @@ gtd_task_list_view_set_default_date   (GtdTaskListView *self,
     {
       g_clear_pointer (&priv->default_date, g_date_time_unref);
       priv->default_date = default_date ? g_date_time_ref (default_date) : NULL;
+
+      gtk_list_box_invalidate_headers (priv->listbox);
+      gtk_list_box_invalidate_sort (priv->listbox);
     }
 }
 


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