From 804a5a1bbf4a7a136e16ba9c548f7cb7c3d620ef Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 7 Dec 2011 15:09:29 -0500 Subject: [PATCH] Fixed ME project and columns under Cocoa. --- cocoa/me/ResultWindow.m | 8 ++++---- cocoa/me/dupeguru.xcodeproj/project.pbxproj | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cocoa/me/ResultWindow.m b/cocoa/me/ResultWindow.m index 6e5b1f9c..f2f8724e 100644 --- a/cocoa/me/ResultWindow.m +++ b/cocoa/me/ResultWindow.m @@ -56,15 +56,15 @@ http://www.hardcoded.net/licenses/bsd_license {@"dupe_count", 80, 16, 0, YES, nil}, nil }; - [[self columns] initializeColumns:defs]; + [[table columns] initializeColumns:defs]; NSTableColumn *c = [matches tableColumnWithIdentifier:@"marked"]; [[c dataCell] setButtonType:NSSwitchButton]; [[c dataCell] setControlSize:NSSmallControlSize]; - c = [[self tableView] tableColumnWithIdentifier:@"size"]; + c = [matches tableColumnWithIdentifier:@"size"]; [[c dataCell] setAlignment:NSRightTextAlignment]; - c = [[self tableView] tableColumnWithIdentifier:@"duration"]; + c = [matches tableColumnWithIdentifier:@"duration"]; [[c dataCell] setAlignment:NSRightTextAlignment]; - c = [[self tableView] tableColumnWithIdentifier:@"bitrate"]; + c = [matches tableColumnWithIdentifier:@"bitrate"]; [[c dataCell] setAlignment:NSRightTextAlignment]; [[table columns] restoreColumns]; } diff --git a/cocoa/me/dupeguru.xcodeproj/project.pbxproj b/cocoa/me/dupeguru.xcodeproj/project.pbxproj index 9594db90..195c3d03 100644 --- a/cocoa/me/dupeguru.xcodeproj/project.pbxproj +++ b/cocoa/me/dupeguru.xcodeproj/project.pbxproj @@ -42,6 +42,7 @@ CE1425890AFB718500BD5167 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE1425880AFB718500BD5167 /* Sparkle.framework */; }; CE14259F0AFB719300BD5167 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = CE1425880AFB718500BD5167 /* Sparkle.framework */; }; CE1EAA0A12DF3E81009BA949 /* HSRecentFiles.m in Sources */ = {isa = PBXBuildFile; fileRef = CE1EAA0912DF3E81009BA949 /* HSRecentFiles.m */; }; + CE2239A2148FFE6600B3DC99 /* HSColumns.m in Sources */ = {isa = PBXBuildFile; fileRef = CE2239A1148FFE6600B3DC99 /* HSColumns.m */; }; CE2E87F9142BC90A00519A68 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE2E87F8142BC90A00519A68 /* Quartz.framework */; }; CE2E87FD142BC92C00519A68 /* HSQuicklook.m in Sources */ = {isa = PBXBuildFile; fileRef = CE2E87FC142BC92C00519A68 /* HSQuicklook.m */; }; CE381C9609914ACE003581CE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CE381C9409914ACE003581CE /* AppDelegate.m */; }; @@ -146,6 +147,9 @@ CE1425880AFB718500BD5167 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = /Library/Frameworks/Sparkle.framework; sourceTree = ""; }; CE1EAA0812DF3E81009BA949 /* HSRecentFiles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSRecentFiles.h; path = ../../cocoalib/HSRecentFiles.h; sourceTree = SOURCE_ROOT; }; CE1EAA0912DF3E81009BA949 /* HSRecentFiles.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HSRecentFiles.m; path = ../../cocoalib/HSRecentFiles.m; sourceTree = SOURCE_ROOT; }; + CE22399E148FFE4F00B3DC99 /* PyColumns.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PyColumns.h; sourceTree = ""; }; + CE2239A0148FFE6600B3DC99 /* HSColumns.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HSColumns.h; sourceTree = ""; }; + CE2239A1148FFE6600B3DC99 /* HSColumns.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HSColumns.m; sourceTree = ""; }; CE2B2B5A1406ABDA0038D15A /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = ../base/de.lproj/Localizable.strings; sourceTree = ""; }; CE2E87F8142BC90A00519A68 /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; CE2E87FB142BC92C00519A68 /* HSQuicklook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HSQuicklook.h; path = ../../cocoalib/HSQuicklook.h; sourceTree = ""; }; @@ -370,6 +374,8 @@ CE003CB211242D00004B0AA7 /* controllers */ = { isa = PBXGroup; children = ( + CE2239A0148FFE6600B3DC99 /* HSColumns.h */, + CE2239A1148FFE6600B3DC99 /* HSColumns.m */, CE003CB311242D00004B0AA7 /* HSGUIController.h */, CE003CB411242D00004B0AA7 /* HSGUIController.m */, CE003CB511242D00004B0AA7 /* HSOutline.h */, @@ -390,6 +396,7 @@ CE003CBB11242D00004B0AA7 /* proxies */ = { isa = PBXGroup; children = ( + CE22399E148FFE4F00B3DC99 /* PyColumns.h */, CE003CBC11242D00004B0AA7 /* PyGUI.h */, CE003CBD11242D00004B0AA7 /* PyOutline.h */, CE0A0C131175A28100DCA3C6 /* PyTable.h */, @@ -647,6 +654,7 @@ CE84C9B91423AE410050A6AD /* HSPopUpList.m in Sources */, CE84C9BA1423AE410050A6AD /* HSSelectableList.m in Sources */, CE2E87FD142BC92C00519A68 /* HSQuicklook.m in Sources */, + CE2239A2148FFE6600B3DC99 /* HSColumns.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };