Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 580216 Details for
Bug 688378
xfce-base/thunar-1.6.17 ignore null value for destination write attribute
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
suggested patch that allows Thunar to transfer files into the gvfs mount
ignore-null-value-for-destination-write-attribute.patch (text/plain), 1.18 KB, created by
Nikolay Kichukov
on 2019-06-20 10:38:52 UTC
(
hide
)
Description:
suggested patch that allows Thunar to transfer files into the gvfs mount
Filename:
MIME Type:
Creator:
Nikolay Kichukov
Created:
2019-06-20 10:38:52 UTC
Size:
1.18 KB
patch
obsolete
>--- a/thunar/thunar-transfer-job.c 2019-05-18 00:19:01.000000000 +0200 >+++ b/thunar/thunar-transfer-job.c 2019-06-20 12:18:52.167781533 +0200 >@@ -835,16 +835,18 @@ > > if (dest_info != NULL) > { >- if (!g_file_info_get_attribute_boolean (dest_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE)) >+ if (g_file_info_get_attribute_boolean (dest_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE) != NULL) > { >- g_set_error (error, G_IO_ERROR, G_IO_ERROR_READ_ONLY, >- _("Error while copying to \"%s\": The destination is read-only"), >- dest_name); >+ if (!g_file_info_get_attribute_boolean (dest_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE)) >+ { >+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_READ_ONLY, >+ _("Error while copying to \"%s\": The destination is read-only"), >+ dest_name); > >- succeed = FALSE; >- } >- >- g_object_unref (G_OBJECT (dest_info)); >+ succeed = FALSE; >+ } >+ } >+ g_object_unref (G_OBJECT (dest_info)); > } > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 688378
: 580216