diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-02 11:28:32 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-02 11:28:32 -0800 |
commit | 7a0305478295e9e7c284372677a4cbc382444482 (patch) | |
tree | a798382bb2fb3bfaf88d2a58bd89f824b4714f9a /src/share-extension.c | |
parent | e06c4244b79f9230da48fa186412749b8357d855 (diff) | |
parent | 906172bb95b10dd064d0b0fde0d0510434d34b96 (diff) | |
download | mate-user-share-7a0305478295e9e7c284372677a4cbc382444482.tar.bz2 mate-user-share-7a0305478295e9e7c284372677a4cbc382444482.tar.xz |
Merge pull request #17 from NiceandGently/master
do not use download dir for incoming bluetooth downloads if mate-blueto...
Diffstat (limited to 'src/share-extension.c')
-rw-r--r-- | src/share-extension.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ caja_user_share_get_location_widget (CajaLocationWidgetProvider *iface, 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 ()); |