aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGrowlController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
committerstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
commit11c54136a6c919e933ec3c26a3eca512da9fae7b (patch)
treef3fddedab5463b4bc3a21bc6103a4f2d6aecaa7b /Source/SPGrowlController.m
parenta3cdae0d22d41758152fd864f49bb894c1bd464e (diff)
downloadsequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.gz
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.bz2
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.zip
Rename TableDocument to SPDatabaseDocument.
Diffstat (limited to 'Source/SPGrowlController.m')
-rw-r--r--Source/SPGrowlController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPGrowlController.m b/Source/SPGrowlController.m
index 50ca4906..8a1f60d3 100644
--- a/Source/SPGrowlController.m
+++ b/Source/SPGrowlController.m
@@ -86,7 +86,7 @@ static SPGrowlController *sharedGrowlController = nil;
* Calls the notification after a tiny delay to allow isKeyWindow to have updated
* after tasks.
*/
-- (void)notifyWithTitle:(NSString *)title description:(NSString *)description document:(TableDocument *)document notificationName:(NSString *)name
+- (void)notifyWithTitle:(NSString *)title description:(NSString *)description document:(SPDatabaseDocument *)document notificationName:(NSString *)name
{
// Ensure that the delayed notification call is made on the main thread
@@ -125,7 +125,7 @@ static SPGrowlController *sharedGrowlController = nil;
/**
* Posts a Growl notification using the supplied details and effectively ignoring the default values.
*/
-- (void)notifyWithTitle:(NSString *)title description:(NSString *)description document:(TableDocument *)document notificationName:(NSString *)name iconData:(NSData *)data priority:(NSInteger)priority isSticky:(BOOL)sticky clickContext:(id)clickContext
+- (void)notifyWithTitle:(NSString *)title description:(NSString *)description document:(SPDatabaseDocument *)document notificationName:(NSString *)name iconData:(NSData *)data priority:(NSInteger)priority isSticky:(BOOL)sticky clickContext:(id)clickContext
{
BOOL postNotification = YES;
@@ -170,7 +170,7 @@ static SPGrowlController *sharedGrowlController = nil;
// Loop through the windows, looking for the document
for (NSWindow *eachWindow in [NSApp orderedWindows]) {
if ([[eachWindow windowController] isKindOfClass:[SPWindowController class]]) {
- for (TableDocument *eachDocument in [[eachWindow windowController] documents]) {
+ for (SPDatabaseDocument *eachDocument in [[eachWindow windowController] documents]) {
if ([eachDocument hash] == documentHash) {
[NSApp activateIgnoringOtherApps:YES];
[eachDocument makeKeyDocument];