Merge lp:~donadigo/switchboard-plug-networking/fix-settings-null-string into lp:~elementary-pantheon/switchboard-plug-networking/trunk

Proposed by Adam Bieńkowski
Status: Merged
Approved by: Corentin Noël
Approved revision: 357
Merged at revision: 357
Proposed branch: lp:~donadigo/switchboard-plug-networking/fix-settings-null-string
Merge into: lp:~elementary-pantheon/switchboard-plug-networking/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
src/Plug.vala (+1/-1)
To merge this branch: bzr merge lp:~donadigo/switchboard-plug-networking/fix-settings-null-string
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+313899@code.launchpad.net

Commit message

* Fix incorrect "null" string in supported settings value.

Description of the change

This branch fixes an incorrect "null" string instead of passing actual null value to the supported settings value.

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-12-13 22:57:28 +0000
3+++ src/Plug.vala 2016-12-28 15:49:22 +0000
4@@ -159,7 +159,7 @@
5 MainBox? main_box = null;
6 public Plug () {
7 var settings = new Gee.TreeMap<string, string?> (null, null);
8- settings.set ("network", "null");
9+ settings.set ("network", null);
10 Object (category: Category.NETWORK,
11 code_name: Build.PLUGCODENAME,
12 display_name: _("Network"),

Subscribers

People subscribed via source and target branches

to all changes: