[Xfce4-commits] [xfce/exo] 01/01: Probable fix for Thunar detailed view (Xfce #12916)

noreply at xfce.org noreply at xfce.org
Fri Oct 28 02:31:41 CEST 2016


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository xfce/exo.

commit fea2619e6d07ac72b2eff6f408bb3daa2dbdf671
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Oct 27 20:31:36 2016 -0400

    Probable fix for Thunar detailed view (Xfce #12916)
---
 exo/exo-tree-view.c | 6 +-----
 1 file changed, 1 insertion(+), 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) */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list