Skip to content
Snippets Groups Projects
Commit d501ae53 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Fix unavailable rubber banding in detailed view (Issue #326)

parent a7c475be
No related branches found
No related tags found
No related merge requests found
......@@ -659,6 +659,9 @@ thunar_details_view_button_press_event (GtkTreeView *tree_view,
&& !gtk_tree_view_get_path_at_pos (tree_view, event->x, event->y, &path, &column, NULL, NULL))
gtk_tree_selection_unselect_all (selection);
/* make sure that rubber banding is enabled */
gtk_tree_view_set_rubber_banding (tree_view, TRUE);
/* if the user clicked on a row with the left button */
if (path != NULL && event->type == GDK_BUTTON_PRESS && event->button == 1)
{
......@@ -669,9 +672,6 @@ thunar_details_view_button_press_event (GtkTreeView *tree_view,
/* grab the tree view */
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
/* make sure that rubber banding is enabled */
gtk_tree_view_set_rubber_banding (tree_view, TRUE);
gtk_tree_view_get_cursor (tree_view, &cursor_path, NULL);
if (cursor_path != NULL)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment