diff --git a/ChangeLog b/ChangeLog index 39ede57b074c95129d290c7e09d6590cea1ba548..0d5ac6c02a9d82dc106d5e41924fa40a071cc3ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-13 Benedikt Meurer <benny@xfce.org> + + * thunar/thunar-standard-view.c(thunar_standard_view_drag_motion): Add + drag scroll support for XDS. + 2006-03-13 Benedikt Meurer <benny@xfce.org> * thunar/thunar-location-button.c(thunar_location_button_init): Fix diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c index 287453cedd0502fb385e7a5cfde94d48cc107856..5ec382b0d43949fbf459c331de359d0a2a25b4bd 100644 --- a/thunar/thunar-standard-view.c +++ b/thunar/thunar-standard-view.c @@ -2780,14 +2780,14 @@ thunar_standard_view_drag_motion (GtkWidget *view, { /* check whether we can drop at (x,y) */ thunar_standard_view_get_dest_actions (standard_view, context, x, y, time, NULL); + } - /* start the drag autoscroll timer if not already running */ - if (G_UNLIKELY (standard_view->priv->drag_scroll_timer_id < 0)) - { - /* schedule the drag autoscroll timer */ - standard_view->priv->drag_scroll_timer_id = g_timeout_add_full (G_PRIORITY_LOW, 50, thunar_standard_view_drag_scroll_timer, - standard_view, thunar_standard_view_drag_scroll_timer_destroy); - } + /* start the drag autoscroll timer if not already running */ + if (G_UNLIKELY (standard_view->priv->drag_scroll_timer_id < 0)) + { + /* schedule the drag autoscroll timer */ + standard_view->priv->drag_scroll_timer_id = g_timeout_add_full (G_PRIORITY_LOW, 50, thunar_standard_view_drag_scroll_timer, + standard_view, thunar_standard_view_drag_scroll_timer_destroy); } return TRUE;