summaryrefslogtreecommitdiff
path: root/extra/thunar/fix-samba.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/thunar/fix-samba.patch')
-rw-r--r--extra/thunar/fix-samba.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/thunar/fix-samba.patch b/extra/thunar/fix-samba.patch
new file mode 100644
index 000000000..61d53bec3
--- /dev/null
+++ b/extra/thunar/fix-samba.patch
@@ -0,0 +1,14 @@
+--- thunar-file-ORIGINAL.c 2011-05-27 00:11:27.000000000 +0200
++++ thunar-1.2.2/thunar/thunar-file.c 2011-08-22 08:00:24.095066077 +0200
+@@ -754,7 +754,10 @@ thunar_file_load (ThunarFile *file,
+ target_uri =
+ g_file_info_get_attribute_string (file->info,
+ G_FILE_ATTRIBUTE_STANDARD_TARGET_URI);
+- file->is_mounted = (target_uri != NULL);
++ file->is_mounted = (target_uri != NULL)
++ ? !g_file_info_get_attribute_boolean (file->info,
++ G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT)
++ : FALSE;
+ }
+ }
+ else