[nautilus] nautilus-file: explain why is not possible to rename
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] nautilus-file: explain why is not possible to rename
- Date: Tue, 1 Mar 2016 15:33:24 +0000 (UTC)
commit 2b7d17aa5b5db66f924e029e31043e35e71bb5a5
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Feb 27 11:58:46 2015 +0100
nautilus-file: explain why is not possible to rename
desktop files are managed as a special case, and changes on the file
name also affect the contents. But when the content are not a desktop
valid format, it generates an error.
The only thing that comes to my mind to keep maintaining this special
handling of desktop files and also not being in a inconsistent state is
to just explain better why we failed to rename.
https://bugzilla.gnome.org/show_bug.cgi?id=721411
https://bugzilla.gnome.org/show_bug.cgi?id=734401
libnautilus-private/nautilus-file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 1ac017c..416c79d 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -1941,7 +1941,7 @@ nautilus_file_rename (NautilusFile *file,
if (!success) {
error = g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED,
- _("Unable to rename desktop file"));
+ _("Probably the content of the file is an invalid desktop file
format"));
(* callback) (file, NULL, error, callback_data);
g_error_free (error);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]