[gnome-todo] list-view: show list names for new rows
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] list-view: show list names for new rows
- Date: Sat, 27 Jun 2015 14:45:31 +0000 (UTC)
commit 050908ad5bf4253b1c836cf424e6d9072d00dfd9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Jun 27 11:44:52 2015 -0300
list-view: show list names for new rows
src/gtd-list-view.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-list-view.c b/src/gtd-list-view.c
index 2636580..dee0e9e 100644
--- a/src/gtd-list-view.c
+++ b/src/gtd-list-view.c
@@ -356,6 +356,8 @@ gtd_list_view__add_task (GtdListView *view,
new_row = gtd_task_row_new (task);
+ gtd_task_row_set_list_name_visible (GTD_TASK_ROW (new_row), priv->show_list_name);
+
if (!gtd_task_get_complete (task))
{
gtk_list_box_insert (priv->listbox,
@@ -1054,6 +1056,9 @@ gtd_list_view_set_show_completed (GtdListView *view,
new_row = gtd_task_row_new (l->data);
+ gtd_task_row_set_list_name_visible (GTD_TASK_ROW (new_row), priv->show_list_name);
+
+
gtk_list_box_insert (priv->listbox,
new_row,
0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]