diff --git a/Mac/Resources/NetNewsWire.sdef b/Mac/Resources/NetNewsWire.sdef index 92fdb29d6..3f445d602 100644 --- a/Mac/Resources/NetNewsWire.sdef +++ b/Mac/Resources/NetNewsWire.sdef @@ -66,7 +66,7 @@ - + @@ -77,12 +77,12 @@ - + - + diff --git a/Mac/Scriptability/Account+Scriptability.swift b/Mac/Scriptability/Account+Scriptability.swift index 18a12aadd..a4d8d9aef 100644 --- a/Mac/Scriptability/Account+Scriptability.swift +++ b/Mac/Scriptability/Account+Scriptability.swift @@ -35,7 +35,17 @@ class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectConta account.isActive = newValue } } - + + @objc(scriptingName) + var scriptingName: NSString { + get { + return account.nameForDisplay as NSString + } + set { + account.name = newValue as String + } + } + // MARK: --- ScriptingObject protocol --- var scriptingKey: String {