From f09022693a6f14191730ee17101e88026f930068 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 14 Feb 2022 16:58:03 -0800 Subject: [PATCH] Preferences: Got rid of appcast selection There is only one appcast to choose from, and it has been this way for quite some time now, so simply make it final. Signed-off-by: Christopher Snowhill --- .../Preferences/AppcastArrayController.h | 14 ------- .../Preferences/AppcastArrayController.m | 32 --------------- .../Preferences/Base.lproj/Preferences.xib | 41 +------------------ .../Preferences.xcodeproj/project.pbxproj | 6 --- 4 files changed, 2 insertions(+), 91 deletions(-) delete mode 100644 Preferences/Preferences/AppcastArrayController.h delete mode 100644 Preferences/Preferences/AppcastArrayController.m diff --git a/Preferences/Preferences/AppcastArrayController.h b/Preferences/Preferences/AppcastArrayController.h deleted file mode 100644 index ee86bbc9c..000000000 --- a/Preferences/Preferences/AppcastArrayController.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// AppcastArrayController.h -// General -// -// Created by Vincent Spader on 5/19/07. -// Copyright 2007 __MyCompanyName__. All rights reserved. -// - -#import - -@interface AppcastArrayController : NSArrayController { -} - -@end diff --git a/Preferences/Preferences/AppcastArrayController.m b/Preferences/Preferences/AppcastArrayController.m deleted file mode 100644 index 48d0e1b6a..000000000 --- a/Preferences/Preferences/AppcastArrayController.m +++ /dev/null @@ -1,32 +0,0 @@ -// -// AppcastArrayController.m -// General -// -// Created by Vincent Spader on 5/19/07. -// Copyright 2007 __MyCompanyName__. All rights reserved. -// - -#import "AppcastArrayController.h" - -@implementation AppcastArrayController - -- (void)awakeFromNib { - [self removeObjects:[self arrangedObjects]]; - - //[self addObject: - // [NSDictionary dictionaryWithObjectsAndKeys: - // NSLocalizedStringFromTableInBundle(@"Stable", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://mamburu.net/cog/stable.xml", @"url",nil]]; - - // [self addObject: - // [NSDictionary dictionaryWithObjectsAndKeys: - // NSLocalizedStringFromTableInBundle(@"Unstable", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://cogx.org/appcast/unstable.xml", @"url",nil]]; - - //[self addObject: - // [NSDictionary dictionaryWithObjectsAndKeys: - // NSLocalizedStringFromTableInBundle(@"Nightly", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://mamburu.net/cog/nightly.xml", @"url",nil]]; - - [self addObject: - @{@"name": NSLocalizedStringFromTableInBundle(@"cog.losno.co wheneverly", nil, [NSBundle bundleForClass:[self class]], @""), @"url": @"https://cogcdn.cog.losno.co/mercury.xml"}]; -} - -@end diff --git a/Preferences/Preferences/Base.lproj/Preferences.xib b/Preferences/Preferences/Base.lproj/Preferences.xib index dda6b39f1..e22838229 100644 --- a/Preferences/Preferences/Base.lproj/Preferences.xib +++ b/Preferences/Preferences/Base.lproj/Preferences.xib @@ -190,41 +190,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -