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

Fixed HTML exporting.

This commit is contained in:
Virgil Dupras
2011-11-27 13:02:59 -05:00
parent 0571151c5f
commit fca66d5108
5 changed files with 9 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ http://www.hardcoded.net/licenses/bsd_license
- (void)saveSession;
- (void)clearIgnoreList;
- (void)purgeIgnoreList;
- (NSString *)exportToXHTMLwithColumns:(NSArray *)aColIds;
- (NSString *)exportToXHTML;
- (void)invokeCommand:(NSString *)cmd;
- (void)doScan;

View File

@@ -40,7 +40,6 @@ http://www.hardcoded.net/licenses/bsd_license
/* Helpers */
- (void)fillColumnsMenu;
- (NSArray *)getColumnsOrder;
- (void)sendMarkedToTrash:(BOOL)hardlinkDeleted;
- (void)updateOptionSegments;

View File

@@ -75,17 +75,6 @@ http://www.hardcoded.net/licenses/bsd_license
[mi setTarget:self];
}
//Returns an array of identifiers, in order.
- (NSArray *)getColumnsOrder
{
NSMutableArray *result = [NSMutableArray array];
for (NSTableColumn *col in [matches tableColumns]) {
NSString *colId = [col identifier];
[result addObject:colId];
}
return result;
}
- (void)sendMarkedToTrash:(BOOL)hardlinkDeleted
{
NSInteger mark_count = [[py getMarkCount] intValue];
@@ -172,8 +161,7 @@ http://www.hardcoded.net/licenses/bsd_license
- (IBAction)exportToXHTML:(id)sender
{
// XXX No need to get column order from GUI anymore.
NSString *exported = [py exportToXHTMLwithColumns:[self getColumnsOrder]];
NSString *exported = [py exportToXHTML];
[[NSWorkspace sharedWorkspace] openFile:exported];
}