Xfce Wiki

Sub domains
 
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Davis <smd.seandavis@gmail.com>2016-10-27 20:31:36 -0400
committerSean Davis <smd.seandavis@gmail.com>2016-10-27 20:31:36 -0400
commitfea2619e6d07ac72b2eff6f408bb3daa2dbdf671 (patch)
tree2c1433d094e2db53a41e6edd5db6b6c11eac0322
parent360a88a0e36367e1706210a2e45b4ad4c05254b3 (diff)
downloadexo-fea2619e6d07ac72b2eff6f408bb3daa2dbdf671.tar.gz
Probable fix for Thunar detailed view (XfceBug #12916
-rw-r--r--exo/exo-tree-view.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/exo/exo-tree-view.c b/exo/exo-tree-view.c
index 8c8564f..2d0fc04 100644
--- a/exo/exo-tree-view.c
+++ b/exo/exo-tree-view.c
@@ -385,13 +385,9 @@ exo_tree_view_button_press_event (GtkWidget *widget,
}
}
- /* see bug http://bugzilla.xfce.org/show_bug.cgi?id=6230 for more information */
if (G_LIKELY (gtk_tree_selection_get_select_function (selection) == (GtkTreeSelectionFunc) exo_noop_false))
{
- /* just reset the select function (previously set to exo_noop_false),
- * there's no clean way to do this, so what the heck.
- */
- gtk_tree_selection_set_select_function (selection, NULL, NULL, NULL);
+ gtk_tree_selection_set_select_function (selection, (GtkTreeSelectionFunc) exo_noop_true, NULL, NULL);
}
/* release the path (if any) */