[gnome-todo/wip/gbsneto/subtasks: 33/37] task-list-view: avoid flickering when dragging row



commit faa9cd649d53b8ddae7cdb2358d2943d1a07995f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Oct 15 12:38:40 2016 -0300

    task-list-view: avoid flickering when dragging row

 src/gtd-task-list-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-task-list-view.c b/src/gtd-task-list-view.c
index 3b0a620..5a7bfe2 100644
--- a/src/gtd-task-list-view.c
+++ b/src/gtd-task-list-view.c
@@ -1086,7 +1086,7 @@ gtd_task_list_view_drag_motion (GtkWidget      *widget,
    * drop target. Otherwise, the user can drop at the space after the rows, and the row
    * that started the DnD operation is hidden forever.
    */
-  if (!hovered_row || GTD_IS_DND_ROW (hovered_row))
+  if (!hovered_row)
     {
       gtd_dnd_row_set_row_above (GTD_DND_ROW (priv->dnd_row), NULL);
       gtk_widget_hide (priv->dnd_row);


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