[gnome-todo] list-selector: unset tasklist when exiting the tasklist view
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] list-selector: unset tasklist when exiting the tasklist view
- Date: Thu, 1 Dec 2016 02:16:17 +0000 (UTC)
commit 0503eb486e669f75665ae98e1da54ff3b963fe54
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 1 00:11:51 2016 -0200
list-selector: unset tasklist when exiting the tasklist view
Whenever we exit the tasklist view, all the tasks must be saved and
we should unset anything that's set.
https://bugzilla.gnome.org/show_bug.cgi?id=773835
src/views/gtd-list-selector-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/views/gtd-list-selector-panel.c b/src/views/gtd-list-selector-panel.c
index a552e8b..6bb4aad 100644
--- a/src/views/gtd-list-selector-panel.c
+++ b/src/views/gtd-list-selector-panel.c
@@ -290,6 +290,8 @@ gtd_list_selector_panel_back_button_clicked (GtkButton *button,
gtd_window_set_custom_title (window, NULL, NULL);
+ gtd_task_list_view_set_task_list (GTD_TASK_LIST_VIEW (panel->tasklist_view), NULL);
+
g_object_notify (G_OBJECT (panel), "menu");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]