summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-icon-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-extensions/nautilus-icon-factory.c')
-rw-r--r--libnautilus-extensions/nautilus-icon-factory.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/libnautilus-extensions/nautilus-icon-factory.c b/libnautilus-extensions/nautilus-icon-factory.c
index 18ce228c9..7fc4b8089 100644
--- a/libnautilus-extensions/nautilus-icon-factory.c
+++ b/libnautilus-extensions/nautilus-icon-factory.c
@@ -987,7 +987,14 @@ get_themed_icon_file_path (const char *theme_name,
(doc, "icon", "size", size_as_string);
g_free (size_as_string);
- property = xmlGetProp (node, "embedded_text_rectangle");
+ property = NULL;
+ if (aa_mode) {
+ property = xmlGetProp (node, "embedded_text_rectangle_aa");
+ }
+ if (property == NULL) {
+ property = xmlGetProp (node, "embedded_text_rectangle");
+ }
+
if (property != NULL) {
if (sscanf (property,
@@ -1001,7 +1008,14 @@ get_themed_icon_file_path (const char *theme_name,
xmlFree (property);
}
- property = xmlGetProp (node, "attach_points");
+ property = NULL;
+ if (aa_mode) {
+ property = xmlGetProp (node, "attach_points_aa");
+ }
+ if (property == NULL) {
+ property = xmlGetProp (node, "attach_points");
+ }
+
parse_attach_points (&details->attach_points, property);
xmlFree (property);