Fix an uncaught exception in the Default Client advanced preferences from messing up the UI by removing all traces of MSN and Yahoo from the URL handler code.
/*
* Adium is the legal property of its developers, whose names are listed in the copyright file included
* with this source distribution.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with this program; if not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#import "ESContactListAdvancedPreferences.h"
#import "AISCLViewPlugin.h"
#import "AIPreferenceWindowController.h"
#import "AIListWindowController.h"
#import <Adium/AIInterfaceControllerProtocol.h>
#import <AIUtilities/AIDictionaryAdditions.h>
#import <AIUtilities/AIImageAdditions.h>
@interfaceESContactListAdvancedPreferences()
-(void)configureControlDimming;
@end
/*!
* @class ESContactListAdvancedPreferences
* @brief Advanced contact list preferences
*/
@implementationESContactListAdvancedPreferences
/*!
* @brief Label
*/
-(NSString*)label{
returnAILocalizedString(@"Contact List","Name of the window which lists contacts");
#define WHILE_ADIUM_IS_IN_BACKGROUND AILocalizedString(@"While Adium is in the background","Checkbox to indicate that something should occur while Adium is not the active application")
[[matrix_hidingcellWithTag:AIContactListWindowHidingStyleSliding]setTitle:AILocalizedString(@"On screen edges","Advanced contact list: hide the contact list: On screen edges")];
[checkBox_hideOnScreenEdgesOnlyInBackgroundsetLocalizedString:AILocalizedString(@"...only while Adium is in the background","Checkbox under 'on screen edges' in the advanced contact list preferences")];
[checkBox_flashsetLocalizedString:AILocalizedString(@"Flash names with unviewed messages",nil)];
[checkBox_animateChangessetLocalizedString:AILocalizedString(@"Animate changes","This string is under the heading 'Contact List' and refers to changes such as sort order in the contact list being animated rather than occurring instantenously")];
[checkBox_showTooltipssetLocalizedString:AILocalizedString(@"Show contact information tooltips",nil)];