Merge lp:~larsu/indicator-sound/add-title into lp:indicator-sound/13.10

Proposed by Lars Karlitski on 2013-09-12
Status: Merged
Approved by: Ted Gould on 2013-09-12
Approved revision: 375
Merged at revision: 375
Proposed branch: lp:~larsu/indicator-sound/add-title
Merge into: lp:indicator-sound/13.10
Diff against target: 11 lines (+1/-0)
1 file modified
src/service.vala (+1/-0)
To merge this branch: bzr merge lp:~larsu/indicator-sound/add-title
Reviewer Review Type Date Requested Status
Ted Gould (community) 2013-09-12 Approve on 2013-09-12
PS Jenkins bot (community) continuous-integration Approve on 2013-09-12
Review via email: mp+185243@code.launchpad.net

Description of the change

Add "title" to the root action state dictionary

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/service.vala'
2--- src/service.vala 2013-09-11 10:31:10 +0000
3+++ src/service.vala 2013-09-12 11:47:04 +0000
4@@ -146,6 +146,7 @@
5
6 var root_action = actions.lookup_action ("root") as SimpleAction;
7 var builder = new VariantBuilder (new VariantType ("a{sv}"));
8+ builder.add ("{sv}", "title", new Variant.string (_("Sound")));
9 builder.add ("{sv}", "accessible-desc", new Variant.string (accessible_name));
10 builder.add ("{sv}", "icon", serialize_themed_icon (icon));
11 builder.add ("{sv}", "visible", new Variant.boolean (true));

Subscribers

People subscribed via source and target branches