Updating branch refs/heads/master
to 3afa40e0582e2a93d5582d66c93e4af464c1c1c4 (commit)
from c32ef2bc99a6c8694873400bb4a61647992a5a5d (commit)
commit 3afa40e0582e2a93d5582d66c93e4af464c1c1c4
Author: Nick Schermer <[email protected]>
Date: Thu Sep 27 19:42:48 2012 +0200
Don't add empty line at end of uri list (bug #9124).
Nautilus doesn't understand empty element at the end of the
string. Tested with Nautilus 3.4.
thunar/thunar-gio-extensions.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index 4e5c77f..97cb651 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -337,7 +337,8 @@ thunar_g_file_list_to_string (GList *list)
string = g_string_append (string, uri);
g_free (uri);
- string = g_string_append (string, "\r\n");
+ if (lp->next != NULL)
+ string = g_string_append (string, "\r\n");
}
return g_string_free (string, FALSE);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits