feat: blacklist mcafee safari host by default (closes #386)
This commit is contained in:
1 parent
9c02cebdfc
commit
a7ef4c7554
2 files changed
+3
-3
No files matched your search
@@ -49,7 +49,7 @@ class Preferences {
|
||||
"hideStatusIcons": "false",
|
||||
"startAtLogin": "true",
|
||||
"menubarIcon": "0",
|
||||
"dontShowBlacklist": "",
|
||||
"dontShowBlacklist": ["com.McAfee.McAfeeSafariHost"].joined(separator: "\n"),
|
||||
"disableShortcutsBlacklist": ["com.realvnc.vncviewer", "com.microsoft.rdc.macos", "com.teamviewer.TeamViewer", "org.virtualbox.app.VirtualBoxVM", "com.parallels.", "com.citrix.XenAppViewer"].joined(separator: "\n"),
|
||||
"disableShortcutsBlacklistOnlyFullscreen": "true",
|
||||
"updatePolicy": "1",
|
||||
|
||||
@@ -4,10 +4,10 @@ import Sparkle
|
||||
class BlacklistsTab {
|
||||
static func initTab() -> NSView {
|
||||
let dontShowBlacklistLabel = NSTextField(labelWithString: NSLocalizedString("Don’t show windows from these apps", comment: ""))
|
||||
let dontShowBlacklist = LabelAndControl.makeTextArea(50, 3, ["com.apple.Safari", "com.apple.TextEdit"].joined(separator: "\n"), "dontShowBlacklist")
|
||||
let dontShowBlacklist = LabelAndControl.makeTextArea(50, 3, Preferences.dontShowBlacklist.joined(separator: "\n"), "dontShowBlacklist")
|
||||
let disableShortcutsBlacklistLabel = NSTextField(labelWithString: NSLocalizedString("Ignore shortcuts while a window from these apps is active", comment: ""))
|
||||
let disableShortcutsBlacklistCheckbox = LabelAndControl.makeLabelWithCheckbox(NSLocalizedString("Only if the window is fullscreen", comment: ""), "disableShortcutsBlacklistOnlyFullscreen", labelPosition: .right)
|
||||
let disableShortcutsBlacklist = LabelAndControl.makeTextArea(50, 3, ["com.apple.Safari", "com.apple.TextEdit"].joined(separator: "\n"), "disableShortcutsBlacklist")
|
||||
let disableShortcutsBlacklist = LabelAndControl.makeTextArea(50, 3, Preferences.disableShortcutsBlacklist.joined(separator: "\n"), "disableShortcutsBlacklist")
|
||||
|
||||
let grid = GridView([
|
||||
[dontShowBlacklistLabel],
|
||||
|
||||
Reference in new issue
Block a user