summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2016-12-14 09:58:19 +0100
committerColomban Wendling <[email protected]>2016-12-14 09:58:19 +0100
commit17895425eb9fc73e5a4d71f8321954d83f182137 (patch)
tree5bf9b2bb66cfc3377a611ed5955ac68bbcc535b8
parent7e751168d9ea150ac083d55aef0834004132a8b9 (diff)
downloadcaja-17895425eb9fc73e5a4d71f8321954d83f182137.tar.bz2
caja-17895425eb9fc73e5a4d71f8321954d83f182137.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.
-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 afca12bd..bd913815 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -3564,6 +3564,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 ();