[nautilus] file: read the emblem icon names from metadata
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file: read the emblem icon names from metadata
- Date: Mon, 12 Sep 2011 23:19:33 +0000 (UTC)
commit 6775e582bcd332eaed925f41555fe4e5c0a3dd71
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Sep 12 19:18:35 2011 -0400
file: read the emblem icon names from metadata
Support for the metadata::emblems got lost during the 3.0 development,
re-add support for it.
libnautilus-private/nautilus-file.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 7c97fda..76a4ee2 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -6496,6 +6496,7 @@ nautilus_file_get_keywords (NautilusFile *file)
keywords = eel_g_str_list_copy (file->details->extension_emblems);
keywords = g_list_concat (keywords, eel_g_str_list_copy (file->details->pending_extension_emblems));
+ keywords = g_list_concat (keywords, nautilus_file_get_metadata_list (file, NAUTILUS_METADATA_KEY_EMBLEMS));
return sort_keyword_list_and_remove_duplicates (keywords);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]