Merge lp:~elementary-pantheon/switchboard-plug-bluetooth/prefs-spec into lp:~elementary-pantheon/switchboard-plug-bluetooth/trunk

Proposed by Danielle Foré
Status: Merged
Approved by: Corentin Noël
Approved revision: 4
Merged at revision: 4
Proposed branch: lp:~elementary-pantheon/switchboard-plug-bluetooth/prefs-spec
Merge into: lp:~elementary-pantheon/switchboard-plug-bluetooth/trunk
Diff against target: 19 lines (+4/-1)
1 file modified
src/Plug.vala (+4/-1)
To merge this branch: bzr merge lp:~elementary-pantheon/switchboard-plug-bluetooth/prefs-spec
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+313172@code.launchpad.net

Commit message

Implement preferences URL specification

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/Plug.vala'
2--- src/Plug.vala 2016-09-29 23:26:07 +0000
3+++ src/Plug.vala 2016-12-13 18:52:13 +0000
4@@ -23,11 +23,14 @@
5 private Services.ObjectManager manager;
6
7 public Plug () {
8+ var settings = new Gee.TreeMap<string, string?> (null, null);
9+ settings.set ("network/bluetooth", null);
10 Object (category: Category.NETWORK,
11 code_name: "network-pantheon-bluetooth",
12 display_name: _("Bluetooth"),
13 description: _("Configure Bluetooth Settings"),
14- icon: "bluetooth");
15+ icon: "bluetooth",
16+ supported_settings: settings);
17 manager = new Bluetooth.Services.ObjectManager ();
18 manager.bind_property ("has-object", this, "can-show", GLib.BindingFlags.SYNC_CREATE);
19 }

Subscribers

People subscribed via source and target branches