[gnome-todo] todo-txt: Hide lists in todo.txt file from other applications



commit d5405a6c76c21e2cd03d69b8b976faaa65508e51
Author: Kainaat Singh <kainaat singh gmail com>
Date:   Sat Feb 17 12:32:27 2018 +0530

    todo-txt: Hide lists in todo.txt file from other applications
    
    We expect other applications to understand that h:1 means hidden.
    
    Issue: #85

 plugins/todo-txt/gtd-provider-todo-txt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/todo-txt/gtd-provider-todo-txt.c b/plugins/todo-txt/gtd-provider-todo-txt.c
index fe15b32..28c98a1 100644
--- a/plugins/todo-txt/gtd-provider-todo-txt.c
+++ b/plugins/todo-txt/gtd-provider-todo-txt.c
@@ -158,7 +158,7 @@ update_source (GtdProviderTodoTxt *self)
       color_str = gdk_rgba_to_string (color);
 
       g_string_append_printf (contents,
-                              "@%s color:%s\n",
+                              "h:1 @%s color:%s\n",
                               gtd_task_list_get_name (list),
                               color_str);
     }


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