diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-03-23 13:46:05 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-03-23 13:46:05 -0400 |
commit | 52375af2e5266de12fb9430d41a4941bd937c15b (patch) | |
tree | 2f9b6645b0f66ae2eddd025ebe8b64dacd1ad48a /src/settings-manager.vala | |
parent | f05dff9b5d6c5e921f3056c142068ea7f6f41486 (diff) | |
parent | 4b955bef19d6a40d9da19a64ff4d0889ae3135a9 (diff) | |
download | ayatana-indicator-sound-52375af2e5266de12fb9430d41a4941bd937c15b.tar.gz ayatana-indicator-sound-52375af2e5266de12fb9430d41a4941bd937c15b.tar.bz2 ayatana-indicator-sound-52375af2e5266de12fb9430d41a4941bd937c15b.zip |
Import upstream version 0.6.5.1
Diffstat (limited to 'src/settings-manager.vala')
-rw-r--r-- | src/settings-manager.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings-manager.vala b/src/settings-manager.vala index 6800423..7acc3b1 100644 --- a/src/settings-manager.vala +++ b/src/settings-manager.vala @@ -41,7 +41,8 @@ public class SettingsManager : GLib.Object var interested = this.settings.get_strv ("interested-media-players"); var list = new ArrayList<string>(); foreach(var s in interested){ - if ( s in blacklisted ) continue; + if (s in list) continue; + if (s in blacklisted) continue; list.add(s); } return list; |