updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / pcmanfm-gtk220 / gtk220workaround.patch
blob262ef4c474a9ca56c2109c3e609f8fa1b9fb07d1
1 --- src/exo/exo-tree-view.c.ORIG 2009-04-21 03:39:38.000000000 +1000
2 +++ src/exo/exo-tree-view.c 2010-05-02 05:02:48.399294260 +1000
3 @@ -365,19 +365,9 @@
4 && (event->state & gtk_accelerator_get_default_mod_mask ()) == 0);
7 - /* unfortunately GtkTreeView will unselect rows except the clicked one,
8 - * which makes dragging from a GtkTreeView problematic. That's why we
9 - * remember the selected paths here and restore them later.
10 - */
11 if (event->type == GDK_BUTTON_PRESS && (event->state & gtk_accelerator_get_default_mod_mask ()) == 0
12 && path != NULL && gtk_tree_selection_path_is_selected (selection, path))
14 - /* if no custom select function is set, we simply use exo_noop_false here,
15 - * to tell the tree view that it may not alter the selection.
16 - */
17 - if (G_LIKELY (selection->user_func == NULL))
18 - gtk_tree_selection_set_select_function (selection, (GtkTreeSelectionFunc) exo_noop_false, NULL, NULL);
19 - else
20 selected_paths = gtk_tree_selection_get_selected_rows (selection, NULL);