[gnome-todo] task-row: Fix DnD background color
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task-row: Fix DnD background color
- Date: Wed, 5 Sep 2018 14:31:58 +0000 (UTC)
commit e65e6414df6eca039073d61d282473715edcbd72
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Sep 5 11:31:36 2018 -0300
task-row: Fix DnD background color
src/task-list-view/gtd-task-row.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/task-list-view/gtd-task-row.c b/src/task-list-view/gtd-task-row.c
index ec7af7c..d9b3d3b 100644
--- a/src/task-list-view/gtd-task-row.c
+++ b/src/task-list-view/gtd-task-row.c
@@ -184,6 +184,9 @@ create_transient_row (GtdTaskRow *self)
gtk_revealer_set_reveal_child (GTK_REVEALER (new_row->edit_panel_revealer), self->active);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (new_row)), "background");
+ gtk_widget_set_opacity (GTK_WIDGET (new_row), 0.5);
+
return GTK_WIDGET (new_row);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]