summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-container.h
diff options
context:
space:
mode:
authorPadraig O'Briain <padraig.obriain@sun.com>2003-12-03 09:51:56 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2003-12-03 09:51:56 +0000
commit2a1f721c66db4719552f85bac7c675be69a34d81 (patch)
treeee446262f4dbd427e63c66e7d86470a244c7e778 /libnautilus-private/nautilus-icon-container.h
parentf7c2500ea4bfc0c367a8f58f88c59a1763387f2d (diff)
downloadnautilus-2a1f721c66db4719552f85bac7c675be69a34d81.tar.gz
Return TRUE when function succeeds.
2003-12-03 Padraig O'Briain <padraig.obriain@sun.com> * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_accessible_action_set_description): Return TRUE when function succeeds. (nautilus_icon_canvas_item_accessible_get_name): If name has been set using atk_object_set_name return that. (nautilus_icon_canvas_item_accessible_finalize): Free image description or description if exists. (nautilus_icon_canvas_item_accessible_get_image_description): Return icon description, if it exists. (nautilus_icon_canvas_item_accessible_set_image-description): Implement this function. * libnautilus-private/nautrilus-icon-container.[ch]: (nautilus_icon_container_get_icon_description): New function. * src/file-manager/fm-icon-container.c: (fm_icon_container_get_icon_description): New function to implement NautilusIconContainerClass's get_icon_description. This fixes part of bug #126183.
Diffstat (limited to 'libnautilus-private/nautilus-icon-container.h')
-rw-r--r--libnautilus-private/nautilus-icon-container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-container.h b/libnautilus-private/nautilus-icon-container.h
index 727f1c665..80255c9c9 100644
--- a/libnautilus-private/nautilus-icon-container.h
+++ b/libnautilus-private/nautilus-icon-container.h
@@ -121,6 +121,8 @@ typedef struct {
NautilusIconData *data,
char **editable_text,
char **additional_text);
+ char * (* get_icon_description) (NautilusIconContainer *container,
+ NautilusIconData *data);
int (* compare_icons) (NautilusIconContainer *container,
NautilusIconData *icon_a,
NautilusIconData *icon_b);
@@ -266,5 +268,7 @@ void nautilus_icon_container_set_margins (Nautilu
int bottom_margin);
void nautilus_icon_container_set_use_drop_shadows (NautilusIconContainer *container,
gboolean use_drop_shadows);
+char* nautilus_icon_container_get_icon_description (NautilusIconContainer *container,
+ NautilusIconData *data);
#endif /* NAUTILUS_ICON_CONTAINER_H */