[gnome-todo] task-list-item: update icon color when it changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task-list-item: update icon color when it changes
- Date: Sun, 23 Aug 2015 21:14:17 +0000 (UTC)
commit c8e56e57a09553350ecdaff9788089f9ae271b88
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Aug 23 17:05:50 2015 -0300
task-list-item: update icon color when it changes
src/gtd-task-list-item.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-task-list-item.c b/src/gtd-task-list-item.c
index a07606a..23c1aef 100644
--- a/src/gtd-task-list-item.c
+++ b/src/gtd-task-list-item.c
@@ -419,6 +419,10 @@ gtd_task_list_item_set_property (GObject *object,
"notify::ready",
G_CALLBACK (gtd_task_list_item__notify_ready),
self);
+ g_signal_connect_swapped (priv->list,
+ "notify::color",
+ G_CALLBACK (gtd_task_list_item__update_thumbnail),
+ self);
g_signal_connect (priv->list,
"task-added",
G_CALLBACK (gtd_task_list_item__task_changed),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]