diff --git a/MacPass/MPActionHelper.m b/MacPass/MPActionHelper.m
index cfb9c4db..bd37dafa 100644
--- a/MacPass/MPActionHelper.m
+++ b/MacPass/MPActionHelper.m
@@ -37,8 +37,8 @@
@(MPActionExportXML): NSStringFromSelector(@selector(exportAsXML:)),
@(MPActionImportXML): NSStringFromSelector(@selector(importFromXML:)),
@(MPActionToggleQuicklook): NSStringFromSelector(@selector(toggleQuicklookPreview:)),
- @(MPActionShowEntryHistory): NSStringFromSelector(@selector(showHistoryForEntry:)),
- @(MPActionHideEntryHistory): NSStringFromSelector(@selector(hideHistoryForEntry:)),
+ @(MPActionShowEntryHistory): NSStringFromSelector(@selector(showEntryHistory:)),
+ @(MPActionHideEntryHistory): NSStringFromSelector(@selector(hideEntryHistory:)),
@(MPActionPerformAutotypeForSelectedEntry): NSStringFromSelector(@selector(performAutotypeForEntry:))
};
});
diff --git a/MacPass/MPContextBarViewController.m b/MacPass/MPContextBarViewController.m
index f9536b48..955e91a3 100644
--- a/MacPass/MPContextBarViewController.m
+++ b/MacPass/MPContextBarViewController.m
@@ -69,7 +69,7 @@ typedef NS_ENUM(NSUInteger, MPContextTab) {
//self.emptyTrashButton.textColor = [NSColor whiteColor];
}
- [[self view] bind:NSSelectedIndexBinding toObject:self withKeyPath:@"activeTab" options:nil];
+ [self.view bind:NSSelectedIndexBinding toObject:self withKeyPath:NSStringFromSelector(@selector(activeTab)) options:nil];
/* Setup Filter Bar buttons and menu */
NSInteger tags[] = { MPEntrySearchTitles, MPEntrySearchUsernames, MPEntrySearchPasswords, MPEntrySearchNotes, MPEntrySearchUrls };
@@ -87,7 +87,7 @@ typedef NS_ENUM(NSUInteger, MPContextTab) {
[[specialMenu itemAtIndex:0] setAction:@selector(toggleSearchFlags:)];
for(NSInteger iIndex = 0; iIndex < (sizeof(specialTags)/sizeof(NSInteger)); iIndex++) {
NSMenuItem *item = [[NSMenuItem alloc] initWithTitle:titles[iIndex] action:@selector(toggleSearchFlags:) keyEquivalent:@""];
- [item setTag:specialTags[iIndex]];
+ item.tag = specialTags[iIndex];
[specialMenu addItem:item];
}
[self.specialFilterPopUpButton setMenu:specialMenu];
diff --git a/MacPass/MPDocumentWindowController.h b/MacPass/MPDocumentWindowController.h
index eb1b2c7f..e7b1ec96 100644
--- a/MacPass/MPDocumentWindowController.h
+++ b/MacPass/MPDocumentWindowController.h
@@ -53,8 +53,8 @@
- (IBAction)pickExpiryDate:(id)sender;
- (IBAction)performAutotypeForEntry:(id)sender;
-- (IBAction)showHistoryForEntry:(id)sender;
-- (IBAction)hideHistoryForEntry:(id)sender;
+- (IBAction)showEntryHistory:(id)sender;
+- (IBAction)hideEntryHistory:(id)sender;
#pragma mark Helper
- (IBAction)fixAutotype:(id)sender;
diff --git a/MacPass/MPDocumentWindowController.m b/MacPass/MPDocumentWindowController.m
index 12854c13..2ba4d096 100644
--- a/MacPass/MPDocumentWindowController.m
+++ b/MacPass/MPDocumentWindowController.m
@@ -495,11 +495,11 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
[contentView layoutSubtreeIfNeeded];
}
-- (IBAction)showHistoryForEntry:(id)sender {
- [self.document showHistoryForEntry:nil];
+- (void)showEntryHistory:(id)sender {
+
}
-- (IBAction)hideHistoryForEntry:(id)sender {
+- (void)hideEntryHistory:(id)sender {
}
diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist
index 2cf4e9f4..2e62b24a 100644
--- a/MacPass/MacPass-Info.plist
+++ b/MacPass/MacPass-Info.plist
@@ -14,7 +14,7 @@
CFBundleTypeIconFile
FileTypeIcon
CFBundleTypeName
- kdbxFileType
+ KDBX Database
CFBundleTypeRole
Editor
LSItemContentTypes
@@ -34,7 +34,7 @@
CFBundleTypeIconFile
FileTypeIcon
CFBundleTypeName
- kdbFileType
+ KDB Database
CFBundleTypeRole
Editor
LSItemContentTypes
@@ -83,7 +83,7 @@
public.data
UTTypeDescription
- Keepass 2 Database
+ KDBX Database
UTTypeIdentifier
com.hicknhack.macpass.kdbx
UTTypeTagSpecification
@@ -100,7 +100,7 @@
public.data
UTTypeDescription
- Keepass Database
+ KDB Database
UTTypeIdentifier
com.hicknhack.macpass.kdb
UTTypeTagSpecification
@@ -131,5 +131,16 @@
+ UTImportedTypeDeclarations
+
+
+ UTTypeDescription
+ XML
+ UTTypeIdentifier
+ public.xml
+ UTTypeTagSpecification
+
+
+