summaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-18 21:08:08 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:47 -0500
commit23b8c687d9c1de82297556d7a82f81555fe9f6a7 (patch)
tree16a44d58b35f7b1c8c2e3116a6bc5db2383b4fb9 /libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch
parent4d841526538160b1ee1bc6eea1defecd06184f6a (diff)
downloadslackbuilds-23b8c687d9c1de82297556d7a82f81555fe9f6a7.tar.gz
libraries/libfm: Apply patches from upstream.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch')
-rw-r--r--libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch b/libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch
new file mode 100644
index 0000000000..465fd8d0eb
--- /dev/null
+++ b/libraries/libfm/patches/0001-3583229-Fix-for-broken-DnD-in-ExoTreeView.patch
@@ -0,0 +1,26 @@
+From 224d38249a449557714aedc2695d1a14279f5510 Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Sun, 4 Nov 2012 20:28:21 +0200
+Subject: [PATCH 01/22] [#3583229]Fix for broken DnD in ExoTreeView.
+
+The commit 441db508ebf12b6cb1849ad1a244dcd668cccf82 added the call to
+gtk_tree_view_set_reorderable() which happened to be incompatible with DnD.
+---
+ src/gtk/fm-standard-view.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/gtk/fm-standard-view.c b/src/gtk/fm-standard-view.c
+index f0f791c..175cced 100644
+--- a/src/gtk/fm-standard-view.c
++++ b/src/gtk/fm-standard-view.c
+@@ -687,7 +687,6 @@ static inline void create_list_view(FmStandardView* fv, GList* sels)
+ FM_FOLDER_MODEL_COL_NAME);
+ }
+
+- gtk_tree_view_set_reorderable(GTK_TREE_VIEW(fv->view), TRUE);
+ gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(fv->view), TRUE);
+ gtk_tree_view_set_rubber_banding(GTK_TREE_VIEW(fv->view), TRUE);
+ exo_tree_view_set_single_click((ExoTreeView*)fv->view, fm_config->single_click);
+--
+1.8.0.1
+