diff options
author | Nick Schermer <nick@xfce.org> | 2012-09-27 19:42:48 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-09-27 19:43:54 +0200 |
commit | 3afa40e0582e2a93d5582d66c93e4af464c1c1c4 (patch) | |
tree | 581c54b71ccd575c765bf96d57b1766491a32c70 /thunar/thunar-gio-extensions.c | |
parent | c32ef2bc99a6c8694873400bb4a61647992a5a5d (diff) | |
download | thunar-3afa40e0582e2a93d5582d66c93e4af464c1c1c4.tar.gz |
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.
Diffstat (limited to 'thunar/thunar-gio-extensions.c')
-rw-r--r-- | 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 4e5c77fb..97cb6515 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); |