[mate-user-share] add mate-user-share_download-dir.patch
Wolfgang Ulbrich
raveit65 at fedoraproject.org
Thu Nov 21 10:32:40 UTC 2013
commit 76f540f0a1d04f42ba11ec791fd52166b08a8528
Author: raveit65 <chat-to-me at raveit.de>
Date: Thu Nov 21 11:40:50 2013 +0100
add mate-user-share_download-dir.patch
mate-user-share_download-dir.patch | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/mate-user-share_download-dir.patch b/mate-user-share_download-dir.patch
new file mode 100644
index 0000000..7d57484
--- /dev/null
+++ b/mate-user-share_download-dir.patch
@@ -0,0 +1,21 @@
+diff --git a/src/share-extension.c b/src/share-extension.c
+index 2dd331a..bbc34ff 100644
+--- a/src/share-extension.c
++++ b/src/share-extension.c
+@@ -137,9 +137,15 @@
+ guint i;
+ gboolean enable = FALSE;
+ GFile *home;
++#ifdef HAVE_BLUETOOTH
+ const GUserDirectory special_dirs[] = { G_USER_DIRECTORY_PUBLIC_SHARE, G_USER_DIRECTORY_DOWNLOAD };
++
+ gboolean is_dir[] = { FALSE, FALSE };
++#else
++ const GUserDirectory special_dirs[] = { G_USER_DIRECTORY_PUBLIC_SHARE };
+
++ gboolean is_dir[] = { FALSE };
++#endif
+ file = g_file_new_for_uri (uri);
+ home = g_file_new_for_path (g_get_home_dir ());
+
+
More information about the scm-commits
mailing list