Skip to contentSkip to conversation

exo fix for thunar

PATCH New Andreas Müller 1 participant 3 messages Oct 28, 2016 – Nov 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exo fix for thunar

Once applied to master this should be applied in morty too - thunar is not usable without.

Andreas Müller (1):
exo: unbreak Thunar's detailed file view

 ...e-fix-for-Thunar-detailed-view-Xfce-12916.patch | 36 ++++++++++++++++++++++
 meta-xfce/recipes-xfce/exo/exo_0.11.1.bb           |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta-xfce/recipes-xfce/exo/exo/0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 exo: unbreak Thunar's detailed file view

see further details at [1]

[1] https://bugzilla.xfce.org/show_bug.cgi?id=12916

---
 ...e-fix-for-Thunar-detailed-view-Xfce-12916.patch | 36 ++++++++++++++++++++++
 meta-xfce/recipes-xfce/exo/exo_0.11.1.bb           |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta-xfce/recipes-xfce/exo/exo/0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch
meta-xfce/recipes-xfce/exo/exo/0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch new file +36 -0
new file mode 100644
index 0000000..16f12fe
@@ -0,0 +1,36 @@
+From fea2619e6d07ac72b2eff6f408bb3daa2dbdf671 Mon Sep 17 00:00:00 2001
+From: Sean Davis <[email protected]>
+Date: Thu, 27 Oct 2016 20:31:36 -0400
+Subject: [PATCH] Probable fix for Thunar detailed view (Xfce #12916)
+
+Upstream-Status: Pending [1-2]
+
+[1] https://git.xfce.org/xfce/exo/commit/?id=fea2619e6d07ac72b2eff6f408bb3daa2dbdf671
+[2] https://bugzilla.xfce.org/show_bug.cgi?id=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) */
+-- 
+2.5.5
+
meta-xfce/recipes-xfce/exo/exo_0.11.1.bb +1 -0
index 92155f2..0b0353b 100644
@@ -11,6 +11,7 @@ inherit xfce pythonnative perlnative gtk-doc
 SRC_URI += " \
     file://exo-no-tests-0.8.patch \
     file://configure.patch \
+    file://0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch \
 "
 
 SRC_URI_append_class-native = " \
Signature · 1 line
2.5.5
#2 lore raw

Re: [PATCH] exo: unbreak Thunar's detailed file view

Quoted 66 lines · Andreas Müller

see further details at [1]

[1] https://bugzilla.xfce.org/show_bug.cgi?id=12916

---
 ...e-fix-for-Thunar-detailed-view-Xfce-12916.patch | 36 ++++++++++++++++++++++
 meta-xfce/recipes-xfce/exo/exo_0.11.1.bb           |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta-xfce/recipes-xfce/exo/exo/0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch
meta-xfce/recipes-xfce/exo/exo/0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch new file +36 -0
new file mode 100644
index 0000000..16f12fe
@@ -0,0 +1,36 @@
+From fea2619e6d07ac72b2eff6f408bb3daa2dbdf671 Mon Sep 17 00:00:00 2001
+From: Sean Davis <[email protected]>
+Date: Thu, 27 Oct 2016 20:31:36 -0400
+Subject: [PATCH] Probable fix for Thunar detailed view (Xfce #12916)
+
+Upstream-Status: Pending [1-2]
+
+[1] https://git.xfce.org/xfce/exo/commit/?id=fea2619e6d07ac72b2eff6f408bb3daa2dbdf671
+[2] https://bugzilla.xfce.org/show_bug.cgi?id=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) */
+--
+2.5.5
+
meta-xfce/recipes-xfce/exo/exo_0.11.1.bb +1 -1
index 92155f2..0b0353b 100644
@@ -11,6 +11,7 @@ inherit xfce pythonnative perlnative gtk-doc
 SRC_URI += " \
     file://exo-no-tests-0.8.patch \
     file://configure.patch \
+    file://0001-Probable-fix-for-Thunar-detailed-view-Xfce-12916.patch \
 "
 
 SRC_URI_append_class-native = " \
--
Quoted 2 lines

2.5.5

ping