aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.m
diff options
context:
space:
mode:
authorabhibeckert <abhi@abhibeckert.com>2008-09-06 01:03:18 +0000
committerabhibeckert <abhi@abhibeckert.com>2008-09-06 01:03:18 +0000
commit402fee4b8e3c3d6a5ae3ff018df0279edf0b191a (patch)
tree5bd025368904f611e2c4fd67fc66c95566d9dc5e /TableDocument.m
parent8c1c73135fdb4070094f30472d4c9bc031b1e575 (diff)
downloadsequelpro-402fee4b8e3c3d6a5ae3ff018df0279edf0b191a.tar.gz
sequelpro-402fee4b8e3c3d6a5ae3ff018df0279edf0b191a.tar.bz2
sequelpro-402fee4b8e3c3d6a5ae3ff018df0279edf0b191a.zip
added 'addto favourites' button to connect sheet. stubbed out remove from favourites button.'
Diffstat (limited to 'TableDocument.m')
-rw-r--r--TableDocument.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/TableDocument.m b/TableDocument.m
index b15006d5..a8d7d326 100644
--- a/TableDocument.m
+++ b/TableDocument.m
@@ -307,6 +307,17 @@ reused when user hits the close button of the variablseSheet or of the createTab
return [keyChainInstance getPasswordForName:keychainName account:keychainAccount];
}
+- (void)connectSheetAddToFavorites:(id)sender
+{
+ [self addToFavoritesHost:[hostField stringValue] socket:[socketField stringValue] user:[userField stringValue] password:[passwordField stringValue] port:[portField stringValue] database:[databaseField stringValue] useSSH:false sshHost:@"" sshUser:@"" sshPassword:@"" sshPort:@""];
+}
+
+- (void)connectSheetRemoveFromFavorites:(id)sender
+{
+ NSBeep();
+ NSLog(@"Remove from favourites is not yet implemented.");
+}
+
/**
* add actual connection to favorites
*/