diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-03 14:33:24 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-03 14:33:24 +0000 |
commit | 32e3cbaf916d06f9375d4b19c4ae2b4492f7960a (patch) | |
tree | 468dfa985a6258aea70179498465112a93f6e4ac /Frameworks/PSMTabBar | |
parent | f57748788a3d9054e5e6c88e8a187e15e5bd7b2d (diff) | |
download | sequelpro-32e3cbaf916d06f9375d4b19c4ae2b4492f7960a.tar.gz sequelpro-32e3cbaf916d06f9375d4b19c4ae2b4492f7960a.tar.bz2 sequelpro-32e3cbaf916d06f9375d4b19c4ae2b4492f7960a.zip |
- Fix tab bars in windows with only one tab not disappearing after dragging a tab past/through them, by using PSMTabBar notifications instead of our own notifications; also fix PSMTabBar notification ordering.
- When a tab drag starts, reorder all windows in front of other applications
Diffstat (limited to 'Frameworks/PSMTabBar')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabDragAssistant.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabDragAssistant.m b/Frameworks/PSMTabBar/PSMTabDragAssistant.m index 29fa036c..7ebada1a 100644 --- a/Frameworks/PSMTabBar/PSMTabDragAssistant.m +++ b/Frameworks/PSMTabBar/PSMTabDragAssistant.m @@ -433,9 +433,9 @@ static PSMTabDragAssistant *sharedDragAssistant = nil; [[[self sourceTabBar] delegate] tabView:[[self sourceTabBar] tabView] didDropTabViewItem:[[self draggedCell] representedObject] inTabBar:[self destinationTabBar]]; } - [[NSNotificationCenter defaultCenter] postNotificationName:PSMTabDragDidEndNotification object:nil]; - [self finishDrag]; + + [[NSNotificationCenter defaultCenter] postNotificationName:PSMTabDragDidEndNotification object:nil]; } - (void)draggedImageEndedAt:(NSPoint)aPoint operation:(NSDragOperation)operation @@ -510,9 +510,9 @@ static PSMTabDragAssistant *sharedDragAssistant = nil; } } - [[NSNotificationCenter defaultCenter] postNotificationName:PSMTabDragDidEndNotification object:nil]; - [self finishDrag]; + + [[NSNotificationCenter defaultCenter] postNotificationName:PSMTabDragDidEndNotification object:nil]; } } |