aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-07-06 21:01:52 +0000
committerrowanbeentje <rowan@beent.je>2009-07-06 21:01:52 +0000
commit86b104a1da6857792c1feb7dcec0d3d654fdac5f (patch)
tree112acee41b8870a1197f6cf5591ae9f4fa6c2343 /Source/SPPreferenceController.h
parentba53d971b598247500e93a665b4cdb0526a36a50 (diff)
downloadsequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.tar.gz
sequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.tar.bz2
sequelpro-86b104a1da6857792c1feb7dcec0d3d654fdac5f.zip
- Improve handling of the new favorites interface in preferences, simplifying the code and fixing one or two edge cases that caused disassociation (desynch) of keychain passwords from the favorite
Diffstat (limited to 'Source/SPPreferenceController.h')
-rw-r--r--Source/SPPreferenceController.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/Source/SPPreferenceController.h b/Source/SPPreferenceController.h
index 221508a2..f5035787 100644
--- a/Source/SPPreferenceController.h
+++ b/Source/SPPreferenceController.h
@@ -45,22 +45,13 @@
IBOutlet NSArrayController *favoritesController;
IBOutlet NSTabView *favoritesTabView;
- IBOutlet NSTextField *nameField;
- IBOutlet NSTextField *standardSQLHostField;
- IBOutlet NSTextField *standardUserField;
IBOutlet NSSecureTextField *standardPasswordField;
- IBOutlet NSTextField *standardDatabaseField;
- IBOutlet NSTextField *socketUserField;
IBOutlet NSSecureTextField *socketPasswordField;
- IBOutlet NSTextField *socketDatabaseField;
- IBOutlet NSTextField *sshSQLHostField;
- IBOutlet NSTextField *sshSQLUserField;
IBOutlet NSSecureTextField *sshSQLPasswordField;
- IBOutlet NSTextField *sshDatabaseField;
- IBOutlet NSTextField *sshHostField;
- IBOutlet NSTextField *sshUserField;
IBOutlet NSSecureTextField *sshPasswordField;
+
KeyChain *keychain;
+ NSDictionary *currentFavorite;
IBOutlet NSTextField *editorFontName;
@@ -104,5 +95,6 @@
- (void)selectFavoriteAtIndex:(unsigned int)theIndex;
- (void)changeFont:(id)sender;
- (IBAction)favoriteTypeDidChange:(id)sender;
+- (void)updateFavoritePasswordsFromField:(NSControl *)passwordControl;
@end