1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Re-organized DirectoryPanel across editions in a saner way.

This commit is contained in:
Virgil Dupras
2010-02-05 17:05:00 +01:00
parent 9ca8a199c0
commit 922ce5ae36
15 changed files with 22 additions and 56 deletions

View File

@@ -74,10 +74,10 @@ http://www.hardcoded.net/licenses/hs_license
return _detailsPanel;
}
- (DirectoryPanelBase *)directoryPanel
- (DirectoryPanel *)directoryPanel
{
if (!_directoryPanel)
_directoryPanel = [[DirectoryPanel alloc] initWithParentApp:self];
_directoryPanel = [[DirectoryPanelME alloc] initWithParentApp:self];
return _directoryPanel;
}
- (PyDupeGuru *)py { return (PyDupeGuru *)py; }

View File

@@ -9,7 +9,7 @@ http://www.hardcoded.net/licenses/hs_license
#import <Cocoa/Cocoa.h>
#import "../base/DirectoryPanel.h"
@interface DirectoryPanel : DirectoryPanelBase
@interface DirectoryPanelME : DirectoryPanel
{
}
- (IBAction)addiTunes:(id)sender;

View File

@@ -8,7 +8,7 @@ http://www.hardcoded.net/licenses/hs_license
#import "DirectoryPanel.h"
@implementation DirectoryPanel
@implementation DirectoryPanelME
- (IBAction)addiTunes:(id)sender
{
[self addDirectory:[@"~/Music/iTunes/iTunes Music" stringByExpandingTildeInPath]];