summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-canvas-item.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-11-23 14:08:43 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-11-23 14:08:43 +0000
commit84a3f90cf2464391a14b97ee2eeb955d6f55ced8 (patch)
tree74c369e77e8de037363aede21fadd0386ab65998 /libnautilus-private/nautilus-icon-canvas-item.c
parent378823d2d8951d1f8ededb2267274cba517d23ee (diff)
downloadnautilus-84a3f90cf2464391a14b97ee2eeb955d6f55ced8.tar.gz
A11y fix for handing renames better (#338353)
2006-11-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-canvas-item.c: A11y fix for handing renames better (#338353)
Diffstat (limited to 'libnautilus-private/nautilus-icon-canvas-item.c')
-rw-r--r--libnautilus-private/nautilus-icon-canvas-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-canvas-item.c b/libnautilus-private/nautilus-icon-canvas-item.c
index 2e4c893df..2010648b0 100644
--- a/libnautilus-private/nautilus-icon-canvas-item.c
+++ b/libnautilus-private/nautilus-icon-canvas-item.c
@@ -366,8 +366,12 @@ nautilus_icon_canvas_item_set_property (GObject *object,
g_free (details->editable_text);
details->editable_text = g_strdup (g_value_get_string (value));
if (details->text_util) {
+ AtkObject *accessible;
+
gail_text_util_text_setup (details->text_util,
details->editable_text);
+ accessible = eel_accessibility_get_atk_object (item);
+ g_object_notify (G_OBJECT(accessible), "accessible-name");
}
nautilus_icon_canvas_item_invalidate_label_size (item);