summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-factory.h
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2000-08-02 08:11:46 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2000-08-02 08:11:46 +0000
commitcbf4c2dcc16b2cbe3cf2b971e0273edad1f34c49 (patch)
treec98dd3d0db3608ae8f9787f9a7c7097918e803bb /libnautilus-private/nautilus-icon-factory.h
parent7194d8e88552e92a0f1db49487c2e7f932c8b719 (diff)
downloadnautilus-cbf4c2dcc16b2cbe3cf2b971e0273edad1f34c49.tar.gz
added attach point attribute to the icon canvas item, and used it to
added attach point attribute to the icon canvas item, and used it to derive the emblem positions if present. Tweaked the emblem positions in the xml file. Cleaned up the attach point stuff in the icon factory.
Diffstat (limited to 'libnautilus-private/nautilus-icon-factory.h')
-rw-r--r--libnautilus-private/nautilus-icon-factory.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-icon-factory.h b/libnautilus-private/nautilus-icon-factory.h
index 173368bfb..666fa53ae 100644
--- a/libnautilus-private/nautilus-icon-factory.h
+++ b/libnautilus-private/nautilus-icon-factory.h
@@ -77,9 +77,12 @@ typedef enum {
typedef struct NautilusScalableIcon NautilusScalableIcon;
/* here's a structure to hold the emblem attach points */
+
+#define MAX_ATTACH_POINTS 8
+
typedef struct {
gboolean has_attach_points;
- GdkPoint attach_points[8];
+ GdkPoint attach_points[MAX_ATTACH_POINTS];
} EmblemAttachPoints;
/* Instead of a class declaration here, I will just document