diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-01-23 14:45:01 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-01-23 14:45:01 +0000 |
commit | 05419a9d8232e7af27e9fb31de248ebe583a002e (patch) | |
tree | 0aa6f2bb9c92bb577da3ee6a18c380b334ddc7a5 | |
parent | 93bf7913a67f05c068a03d394c69bcbb123cc53d (diff) | |
download | gvfs-05419a9d8232e7af27e9fb31de248ebe583a002e.tar.gz |
Use -, not _ in attribute names
2008-01-23 Alexander Larsson <alexl@redhat.com>
* daemon/gvfsbackendtrash.c:
(add_extra_trash_info):
Use -, not _ in attribute names
svn path=/trunk/; revision=1170
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | daemon/gvfsbackendtrash.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -2,6 +2,12 @@ * daemon/gvfsbackendtrash.c: (add_extra_trash_info): + Use -, not _ in attribute names + +2008-01-23 Alexander Larsson <alexl@redhat.com> + + * daemon/gvfsbackendtrash.c: + (add_extra_trash_info): Use :: to delimit namespace for trash attributes 2008-01-22 Gil Forcada <gforcada@gnome.org> diff --git a/daemon/gvfsbackendtrash.c b/daemon/gvfsbackendtrash.c index e6d0496f..337c23c1 100644 --- a/daemon/gvfsbackendtrash.c +++ b/daemon/gvfsbackendtrash.c @@ -961,7 +961,7 @@ add_extra_trash_info (GFileInfo *file_info, g_file_info_set_attribute_byte_string (file_info, - "trash::orig_path", + "trash::orig-path", orig_path); g_free (orig_path); g_free (orig_path_unescaped); @@ -974,7 +974,7 @@ add_extra_trash_info (GFileInfo *file_info, date = g_key_file_get_string (keyfile, "Trash Info", "DeletionDate", NULL); if (date && g_utf8_validate (date, -1, NULL)) g_file_info_set_attribute_string (file_info, - "trash::deletion_date", + "trash::deletion-date", date); g_free (date); } |