diff options
author | Luke Yelavich <luke.yelavich@canonical.com> | 2012-02-17 15:01:53 +1100 |
---|---|---|
committer | Luke Yelavich <luke.yelavich@canonical.com> | 2012-02-17 15:01:53 +1100 |
commit | 13ca9a89915c4a06806d5f46bf304e2952848bd2 (patch) | |
tree | bbb7d996ae2550c42a6a23314602bb761583bed7 /libdbusmenu-gtk | |
parent | aef71fa6d08309a29df51d94bcb2c7713e9c04ee (diff) | |
download | libdbusmenu-13ca9a89915c4a06806d5f46bf304e2952848bd2.tar.gz libdbusmenu-13ca9a89915c4a06806d5f46bf304e2952848bd2.tar.bz2 libdbusmenu-13ca9a89915c4a06806d5f46bf304e2952848bd2.zip |
Do not set the accessible name to an empty string if the accessible_desc
property = NULL. Yes this was recently changed so that dbusmenu conformed
to Atk documentation, but the GTK menu item accessibility code does not yet
conform to sed documentation. As a result, all dbusmenu menu items that do not
have the accessible_desc property set end up getting an empty string for their
accessible name. In the long term, GTK accessibility needs to be fixed.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/client.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index 830356a..1883eea 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -741,10 +741,6 @@ process_a11y_desc (DbusmenuMenuitem * mi, GtkMenuItem * gmi, GVariant * variant, setname = g_variant_get_string(variant, NULL); } - if (setname == NULL) { - setname = ""; - } - atk_object_set_name(aobj, setname); return; } |