Commit 9b4a8b9c authored by Alexander Schwinn's avatar Alexander Schwinn

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

parent 73d549b0
......@@ -690,6 +690,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)
{
......@@ -698,9 +701,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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment