aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-09-12 17:07:39 +0000
committerTarmac <Unknown>2013-09-12 17:07:39 +0000
commit714775ae8d16509e1c4c57bad36d8a741a48c0e2 (patch)
treef5bb2d37ddeecf976792579244905d5371a3335c /src
parent3a1fe327673a2ad6ca0a918f2efc2ac559843b4b (diff)
parentbabdfeea38806f55722eec0f457f0846d7fb7013 (diff)
downloadayatana-indicator-sound-714775ae8d16509e1c4c57bad36d8a741a48c0e2.tar.gz
ayatana-indicator-sound-714775ae8d16509e1c4c57bad36d8a741a48c0e2.tar.bz2
ayatana-indicator-sound-714775ae8d16509e1c4c57bad36d8a741a48c0e2.zip
Add "title" to the root action state dictionary
. Fixes: https://bugs.launchpad.net/bugs/1223635. Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r--src/service.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala
index 5cf90b6..1b3a81a 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -146,6 +146,7 @@ public class IndicatorSound.Service {
var root_action = actions.lookup_action ("root") as SimpleAction;
var builder = new VariantBuilder (new VariantType ("a{sv}"));
+ builder.add ("{sv}", "title", new Variant.string (_("Sound")));
builder.add ("{sv}", "accessible-desc", new Variant.string (accessible_name));
builder.add ("{sv}", "icon", serialize_themed_icon (icon));
builder.add ("{sv}", "visible", new Variant.boolean (true));