diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-06-21 17:59:48 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-06-21 18:06:52 +0200 |
commit | 73d57e0457c738880b7e0d4a364b11f7e50ca011 (patch) | |
tree | f0511e39de7ce3452b4eb4dad4d30925f86ef0f9 | |
parent | 77108fc97c0205e21733069388146fe725473f46 (diff) | |
download | nautilus-sendto-73d57e0457c738880b7e0d4a364b11f7e50ca011.tar.gz |
main: Add debug when files are ignored
-rw-r--r-- | src/nautilus-sendto.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nautilus-sendto.c b/src/nautilus-sendto.c index 9c8d652..ab178f1 100644 --- a/src/nautilus-sendto.c +++ b/src/nautilus-sendto.c @@ -484,6 +484,7 @@ nautilus_sendto_init (NautilusSendto *nst) filename = get_target_filename (file); if (filename == NULL) { g_object_unref (file); + g_debug ("Could not get a filename for '%s'", filenames[i]); continue; } } @@ -496,8 +497,10 @@ nautilus_sendto_init (NautilusSendto *nst) NULL); g_object_unref (file); - if (info == NULL) + if (info == NULL) { + g_debug ("Could not get info for '%s'", filenames[i]); continue; + } if (g_file_info_get_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_READ) == FALSE) { g_debug ("'%s' is not readable", filenames[i]); |