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
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.
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.
17 - if (G_LIKELY (selection->user_func == NULL))
18 - gtk_tree_selection_set_select_function (selection, (GtkTreeSelectionFunc) exo_noop_false, NULL, NULL);
20 selected_paths = gtk_tree_selection_get_selected_rows (selection, NULL);