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

Proposed by Danielle Foré
Status: Merged
Approved by: Corentin Noël
Approved revision: 345
Merged at revision: 346
Proposed branch: lp:~elementary-pantheon/switchboard-plug-networking/prefs-spec
Merge into: lp:~elementary-pantheon/switchboard-plug-networking/trunk
Diff against target: 18 lines (+4/-1)
1 file modified
src/Plug.vala (+4/-1)
To merge this branch: bzr merge lp:~elementary-pantheon/switchboard-plug-networking/prefs-spec
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+313184@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-07-24 22:04:55 +0000
3+++ src/Plug.vala 2016-12-13 22:58:41 +0000
4@@ -158,11 +158,14 @@
5 public class Plug : Switchboard.Plug {
6 MainBox? main_box = null;
7 public Plug () {
8+ var settings = new Gee.TreeMap<string, string?> (null, null);
9+ settings.set ("network", "null");
10 Object (category: Category.NETWORK,
11 code_name: Build.PLUGCODENAME,
12 display_name: _("Network"),
13 description: _("Manage network devices and connectivity"),
14- icon: "preferences-system-network");
15+ icon: "preferences-system-network",
16+ supported_settings: settings);
17 plug = this;
18 }
19

Subscribers

People subscribed via source and target branches