summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2016-12-14 09:58:19 +0100
committermonsta <[email protected]>2017-01-22 13:19:16 +0300
commitb61fc8197c1912f168e5c40352cd54dc5b3fbfd3 (patch)
treeed4ab4aae7a7b629944ccd15b16106ad25042b44 /libcaja-private/caja-icon-canvas-item.c
parentebe5dcc666f85033e9711e83461e0b5188c3f869 (diff)
downloadcaja-b61fc8197c1912f168e5c40352cd54dc5b3fbfd3.tar.bz2
caja-b61fc8197c1912f168e5c40352cd54dc5b3fbfd3.tar.xz
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.
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.c')
-rw-r--r--libcaja-private/caja-icon-canvas-item.c2
1 files changed, 2 insertions, 0 deletions
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 ();