aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-05-24 09:24:38 +0000
committerrowanbeentje <rowan@beent.je>2010-05-24 09:24:38 +0000
commitd48005bd9b34f2fb1afd31f7487b7bbf8b9b978f (patch)
treec27ac371a986bdf2e8f9dd4441ed37c44b04ec64 /Source/TableDocument.m
parent98238ec8fb393295fc01804a3104092e3ea24c92 (diff)
downloadsequelpro-d48005bd9b34f2fb1afd31f7487b7bbf8b9b978f.tar.gz
sequelpro-d48005bd9b34f2fb1afd31f7487b7bbf8b9b978f.tar.bz2
sequelpro-d48005bd9b34f2fb1afd31f7487b7bbf8b9b978f.zip
- Add support for progress indicator in tabs
- Hide Navigator menu option again - Remove accidentally committed debug
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m18
1 files changed, 3 insertions, 15 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 5d3209e5..d0637eed 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -75,6 +75,7 @@
@synthesize parentWindowController;
@synthesize parentTabViewItem;
+@synthesize isProcessing;
- (id)init
{
@@ -2583,7 +2584,7 @@
*/
- (void)willPerformQuery:(NSNotification *)notification
{
- isProcessing = YES;
+ [self setIsProcessing:YES];
[queryProgressBar startAnimation:self];
}
@@ -2592,7 +2593,7 @@
*/
- (void)hasPerformedQuery:(NSNotification *)notification
{
- isProcessing = NO;
+ [self setIsProcessing:NO];
[queryProgressBar stopAnimation:self];
}
@@ -3932,18 +3933,6 @@
}
/**
- * Support the tab's progress spinner
- */
-- (BOOL)isProcessing
-{
- return (isProcessing || (_isWorkingLevel > 0));
-}
-- (void)setIsProcessing:(BOOL)value
-{
- isProcessing = value;
-}
-
-/**
* Set the parent window
*/
- (void)setParentWindow:(NSWindow *)aWindow
@@ -4228,7 +4217,6 @@
*/
- (void)dealloc
{
-NSLog(@"is dealloc'd");
// Unregister observers
[prefs removeObserver:self forKeyPath:SPDisplayTableViewVerticalGridlines];