Revision: 6800
http://skim-app.svn.sourceforge.net/skim-app/?rev=6800&view=rev
Author: hofman
Date: 2010-09-13 00:04:59 +0000 (Mon, 13 Sep 2010)
Log Message:
-----------
close note window controllers when removing a note instead of calling orderOut:
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-09-12 23:57:04 UTC (rev 6799)
+++ trunk/SKMainWindowController.m 2010-09-13 00:04:59 UTC (rev 6800)
@@ -1017,7 +1017,7 @@
- (void)removeObjectFromNotesAtIndex:(NSUInteger)theIndex {
PDFAnnotation *note = [notes objectAtIndex:theIndex];
- [[[self windowControllerForNote:note] window] orderOut:self];
+ [[self windowControllerForNote:note] close];
if ([[note texts] count])
[rowHeights removeFloatForKey:[[note texts] lastObject]];
@@ -1036,7 +1036,7 @@
for (NSWindowController *wc in [[self document] windowControllers]) {
if ([wc isNoteWindowController])
- [[wc window] orderOut:self];
+ [wc close];
}
[rowHeights removeAllFloats];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit