From 43f758956eefb4525766f53d6c32ca4caab473a1 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 31 Jul 2009 11:13:50 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Favorite=20Preferences=20-=20Favorite=20nam?= =?UTF-8?q?e=20issues=20fixed:=20-=20Trap=20and=20control=20the=20'name'?= =?UTF-8?q?=20field=20of=20the=20new=20added=20favorite.=20If=20the=20user?= =?UTF-8?q?=20pressed=20'Add=20Favorite'=20the=20'name'=20field=20is=20set?= =?UTF-8?q?=20to=20"New=20Favorite".=20If=20the=20user=20do=20not=20change?= =?UTF-8?q?=20the=20'name'=20field=20or=20the=20user=20deletes=20the=20fie?= =?UTF-8?q?ld=20content=20it=20will=20be=20set=20to=20user@host=20automati?= =?UTF-8?q?cally.=20This=20also=20fixes=20the=20issue=20for=20empty=20name?= =?UTF-8?q?s.=20-=20focus=20is=20set=20to=20'Host'=20field=20after=20"Add?= =?UTF-8?q?=20Favorite"=20-=20focus=20is=20set=20to=20'Name'=20field=20aft?= =?UTF-8?q?er=20"Duplicate=20Favorite"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPPreferenceController.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/SPPreferenceController.h') diff --git a/Source/SPPreferenceController.h b/Source/SPPreferenceController.h index f5035787..515221e9 100644 --- a/Source/SPPreferenceController.h +++ b/Source/SPPreferenceController.h @@ -49,6 +49,12 @@ IBOutlet NSSecureTextField *socketPasswordField; IBOutlet NSSecureTextField *sshSQLPasswordField; IBOutlet NSSecureTextField *sshPasswordField; + IBOutlet NSTextField *favoriteNameTextField; + IBOutlet NSTextField *favoriteUserTextField; + IBOutlet NSTextField *favoriteHostTextField; + IBOutlet NSTextField *favoriteUserTextFieldSocket; + IBOutlet NSTextField *favoriteUserTextFieldSSH; + IBOutlet NSTextField *favoriteHostTextFieldSSH; KeyChain *keychain; NSDictionary *currentFavorite; @@ -67,6 +73,9 @@ NSToolbarItem *shortcutItem; NSUserDefaults *prefs; + + BOOL favoriteNameFieldWasTouched; + int favoriteType; } - (void)applyRevisionChanges; -- cgit v1.2.3