diff options
-rw-r--r-- | libcaja-private/caja-icon-canvas-item.c | 1 | ||||
-rw-r--r-- | libcaja-private/caja-icon-container.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c index 7763811d..6751628b 100644 --- a/libcaja-private/caja-icon-canvas-item.c +++ b/libcaja-private/caja-icon-canvas-item.c @@ -379,7 +379,6 @@ caja_icon_canvas_item_set_property (GObject *object, { gail_text_util_text_setup (details->text_util, details->editable_text); - g_object_notify (G_OBJECT(accessible), "accessible-name"); } caja_icon_canvas_item_invalidate_label_size (item); diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index 5f941eab..3a434d32 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -9078,6 +9078,7 @@ end_renaming_mode (CajaIconContainer *container, gboolean commit) { CajaIcon *icon; const char *changed_text; + AtkObject *accessible_icon; set_pending_icon_to_rename (container, NULL); @@ -9110,6 +9111,9 @@ end_renaming_mode (CajaIconContainer *container, gboolean commit) signals[ICON_TEXT_CHANGED], 0, icon->data, changed_text); + + accessible_icon = atk_gobject_accessible_for_object (G_OBJECT(icon->item)); + g_object_notify (G_OBJECT(accessible_icon), "accessible-name"); } } |