diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index b4072d1ed..a28e4adad 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -103,7 +103,6 @@ A209EC12114301C6002B02D1 /* InfoOptionsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A209EC11114301C6002B02D1 /* InfoOptionsView.xib */; }; A209ECA2114319C3002B02D1 /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A209ECA1114319C3002B02D1 /* InfoWindow.xib */; }; A209EE5D1144B51E002B02D1 /* history.h in Headers */ = {isa = PBXBuildFile; fileRef = A209EE5B1144B51E002B02D1 /* history.h */; }; - A20BFFB70D091CC700CE5D2B /* ToolbarSegmentedCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.mm */; }; A21282A80CA6C66800EAEE0F /* StatusBarView.mm in Sources */ = {isa = PBXBuildFile; fileRef = A21282A60CA6C66800EAEE0F /* StatusBarView.mm */; }; A215BF5C0F02EBB800350CDB /* GroupRules.xib in Resources */ = {isa = PBXBuildFile; fileRef = A215BF5B0F02EBB800350CDB /* GroupRules.xib */; }; A219798B0D07B78400438EA7 /* GroupToolbarItem.mm in Sources */ = {isa = PBXBuildFile; fileRef = A219798A0D07B78400438EA7 /* GroupToolbarItem.mm */; }; @@ -833,8 +832,6 @@ A209EBF81142FEEE002B02D1 /* InfoOptionsViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = InfoOptionsViewController.mm; sourceTree = ""; }; A209ECA1114319C3002B02D1 /* InfoWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = InfoWindow.xib; sourceTree = ""; }; A209EE5B1144B51E002B02D1 /* history.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = history.h; sourceTree = ""; }; - A20BFFB50D091CC700CE5D2B /* ToolbarSegmentedCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ToolbarSegmentedCell.h; sourceTree = ""; }; - A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ToolbarSegmentedCell.mm; sourceTree = ""; }; A21282A50CA6C66800EAEE0F /* StatusBarView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StatusBarView.h; sourceTree = ""; }; A21282A60CA6C66800EAEE0F /* StatusBarView.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = StatusBarView.mm; sourceTree = ""; }; A21979890D07B78400438EA7 /* GroupToolbarItem.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GroupToolbarItem.h; sourceTree = ""; }; @@ -1513,8 +1510,6 @@ A219798A0D07B78400438EA7 /* GroupToolbarItem.mm */, 457AF8E928604AFC00BCF74F /* Toolbar.h */, 457AF8EA28604AFC00BCF74F /* Toolbar.mm */, - A20BFFB50D091CC700CE5D2B /* ToolbarSegmentedCell.h */, - A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.mm */, A22180960D148A71007D09ED /* GroupsPrefsController.h */, A22180970D148A71007D09ED /* GroupsPrefsController.mm */, 45A7D3272843B54D00F0C32A /* GroupPopUpButtonCell.h */, @@ -3144,7 +3139,6 @@ A25892640CF1F7E800CCCDDF /* StatsWindowController.mm in Sources */, A2C89D600CFCBF57004CC2BC /* ButtonToolbarItem.mm in Sources */, A219798B0D07B78400438EA7 /* GroupToolbarItem.mm in Sources */, - A20BFFB70D091CC700CE5D2B /* ToolbarSegmentedCell.mm in Sources */, C841A28129197724009F18E8 /* NSKeyedUnarchiverAdditions.mm in Sources */, A22180980D148A71007D09ED /* GroupsPrefsController.mm in Sources */, A26AF21A0D2DA35A00FF7140 /* FileOutlineController.mm in Sources */, diff --git a/macosx/CMakeLists.txt b/macosx/CMakeLists.txt index ffc7d1917..14d188768 100644 --- a/macosx/CMakeLists.txt +++ b/macosx/CMakeLists.txt @@ -90,7 +90,6 @@ set(${PROJECT_NAME}_SOURCES StatusBarController.mm StatusBarView.mm Toolbar.mm - ToolbarSegmentedCell.mm Torrent.mm TorrentCell.mm TorrentGroup.mm @@ -163,7 +162,6 @@ set(${PROJECT_NAME}_HEADERS StatusBarController.h StatusBarView.h Toolbar.h - ToolbarSegmentedCell.h Torrent.h TorrentCell.h TorrentGroup.h diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 65c5f499a..10278f109 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -42,7 +42,6 @@ #import "ShareToolbarItem.h" #import "ShareTorrentFileHelper.h" #import "Toolbar.h" -#import "ToolbarSegmentedCell.h" #import "BlocklistDownloader.h" #import "StatusBarController.h" #import "FilterBarController.h" diff --git a/macosx/ToolbarSegmentedCell.h b/macosx/ToolbarSegmentedCell.h deleted file mode 100644 index f6e730bdc..000000000 --- a/macosx/ToolbarSegmentedCell.h +++ /dev/null @@ -1,9 +0,0 @@ -// This file Copyright © 2007-2022 Transmission authors and contributors. -// It may be used under the MIT (SPDX: MIT) license. -// License text can be found in the licenses/ folder. - -#import - -@interface ToolbarSegmentedCell : NSSegmentedCell - -@end diff --git a/macosx/ToolbarSegmentedCell.mm b/macosx/ToolbarSegmentedCell.mm deleted file mode 100644 index a7573403b..000000000 --- a/macosx/ToolbarSegmentedCell.mm +++ /dev/null @@ -1,15 +0,0 @@ -// This file Copyright © 2007-2022 Transmission authors and contributors. -// It may be used under the MIT (SPDX: MIT) license. -// License text can be found in the licenses/ folder. - -#import "ToolbarSegmentedCell.h" - -@implementation ToolbarSegmentedCell - -//when the toolbar is set to small size, don't make the group items small -- (NSControlSize)controlSize -{ - return NSControlSizeRegular; -} - -@end