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

Proposed by Danielle Foré
Status: Merged
Approved by: Corentin Noël
Approved revision: 117
Merged at revision: 117
Proposed branch: lp:~elementary-pantheon/switchboard-plug-printers/prefs-spec
Merge into: lp:~elementary-pantheon/switchboard-plug-printers/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-printers/prefs-spec
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+313272@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-04-21 21:38:16 +0000
3+++ src/Plug.vala 2016-12-14 20:04:26 +0000
4@@ -32,11 +32,14 @@
5 private Printers.AddPopover add_popover;
6
7 public Plug () {
8+ var settings = new Gee.TreeMap<string, string?> (null, null);
9+ settings.set ("printer", "null");
10 Object (category: Category.HARDWARE,
11 code_name: Build.PLUGCODENAME,
12 display_name: _("Printers"),
13 description: _("Configure printers, manage print queues, and view ink levels"),
14- icon: "printer");
15+ icon: "printer",
16+ supported_settings: settings);
17 plug = this;
18 }
19

Subscribers

People subscribed via source and target branches