From 9420a389125773fad2438532369f0f697b75a31d Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 12 Jan 2009 00:24:48 +0000 Subject: [PATCH] clean up Info.plist --- macosx/Controller.m | 2 +- macosx/Info.plist | 26 ++++++++------------------ 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index b6a84b3fc..d33e44f8a 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -201,7 +201,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy fDefaults = [NSUserDefaults standardUserDefaults]; tr_benc settings; - tr_bencInitDict(&settings, 21); + tr_bencInitDict(&settings, 20); tr_sessionGetDefaultSettings(&settings); tr_bencDictAddInt(&settings, TR_PREFS_KEY_BLOCKLIST_ENABLED, [fDefaults boolForKey: @"Blocklist"]); diff --git a/macosx/Info.plist b/macosx/Info.plist index d6ac9cd7b..d31eeea61 100644 --- a/macosx/Info.plist +++ b/macosx/Info.plist @@ -7,32 +7,22 @@ CFBundleDocumentTypes + CFBundleTypeIconFile + TransmissionDocument + CFBundleTypeName + BitTorrent Document + CFBundleTypeRole + Viewer CFBundleTypeExtensions torrent - CFBundleTypeIconFile - TransmissionDocument - CFBundleTypeMIMETypes - - application/x-bittorrent - - CFBundleTypeName - BitTorrent Document - CFBundleTypeOSTypes - - TORR - - CFBundleTypeRole - Viewer LSItemContentTypes org.bittorrent.torrent - LSTypeIsPackage - - NSPersistentStoreTypeKey - XML + LSHandlerRank + Owner CFBundleExecutable