From b61fc8197c1912f168e5c40352cd54dc5b3fbfd3 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 14 Dec 2016 09:58:19 +0100 Subject: Add a separator when concatenating strings in icon text accessible This makes the string exposed to ATK more sensible, instead of having unrelated words coupled together. --- libcaja-private/caja-icon-canvas-item.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcaja-private/caja-icon-canvas-item.c') diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c index 4b8ec729..13e59bfd 100644 --- a/libcaja-private/caja-icon-canvas-item.c +++ b/libcaja-private/caja-icon-canvas-item.c @@ -4118,6 +4118,8 @@ caja_icon_canvas_item_accessible_factory_create_accessible (GObject *for_object) } if (item->details->additional_text) { + if (item_text->len > 0) + g_string_append_c (item_text, ' '); g_string_append (item_text, item->details->additional_text); } item->details->text_util = gail_text_util_new (); -- cgit v1.2.1