[nautilus] file: make nautilus_file_get_gicon() return custom icons too
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file: make nautilus_file_get_gicon() return custom icons too
- Date: Wed, 12 Jan 2011 18:35:45 +0000 (UTC)
commit f1c782c13dd675bafffb2a4d85900da52be88f3f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jan 12 19:25:25 2011 +0100
file: make nautilus_file_get_gicon() return custom icons too
libnautilus-private/nautilus-file.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 580fdd5..31d2871 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -4013,6 +4013,12 @@ nautilus_file_get_gicon (NautilusFile *file,
return NULL;
}
+ icon = get_custom_icon (file);
+
+ if (icon != NULL) {
+ return icon;
+ }
+
if (file->details->icon) {
icon = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]