diff options
author | William Hua <william.hua@canonical.com> | 2013-08-28 23:08:44 +0800 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-08-28 23:08:44 +0800 |
commit | f1416ee304e6025e9b65270e6ab5810153632ad4 (patch) | |
tree | d8e2f242f9513ec74b2b1bfef1c8e56cf61f26a4 /lib | |
parent | e322058091faf384ee8e8ba21dc09aa2203656c6 (diff) | |
download | ayatana-indicator-keyboard-f1416ee304e6025e9b65270e6ab5810153632ad4.tar.gz ayatana-indicator-keyboard-f1416ee304e6025e9b65270e6ab5810153632ad4.tar.bz2 ayatana-indicator-keyboard-f1416ee304e6025e9b65270e6ab5810153632ad4.zip |
Append input source suffix to accessible-desc.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/main.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/main.vala b/lib/main.vala index d8b6588e..cf196650 100644 --- a/lib/main.vala +++ b/lib/main.vala @@ -366,7 +366,8 @@ public class Indicator.Keyboard.Service : Object { var builder = new VariantBuilder (new VariantType ("a{sv}")); builder.add ("{sv}", "visible", new Variant.boolean (visible)); if (name != null) { - builder.add ("{sv}", "accessible-desc", new Variant.string ((!) name)); + var suffix = _ ("input source"); + builder.add ("{sv}", "accessible-desc", new Variant.string (@"$((!) name) $suffix")); } if (icon != null) { builder.add ("{sv}", "icon", ((!) icon).serialize ()); |