Revision: 5255
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5255&view=rev
Author:   hofman
Date:     2009-03-04 20:29:51 +0000 (Wed, 04 Mar 2009)

Log Message:
-----------
remove alert before showing the password sheet

Modified Paths:
--------------
    trunk/SKPDFDocument.m

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2009-03-04 19:30:52 UTC (rev 5254)
+++ trunk/SKPDFDocument.m       2009-03-04 20:29:51 UTC (rev 5255)
@@ -980,6 +980,8 @@
     if ([[self pdfDocument] isEncrypted]) {
         pdfDocWithoutNotes = [[PDFDocument alloc] initWithData:pdfData];
         if ([pdfDocWithoutNotes isLocked] && [self 
tryToUnlockDocument:pdfDocWithoutNotes] == NO) {
+            [[[self windowForSheet] attachedSheet] orderOut:self];
+            
             SKPasswordSheetController *passwordSheetController = 
[[[SKPasswordSheetController alloc] init] autorelease];
             
             [passwordSheetController beginSheetModalForWindow:[[self 
mainWindowController] window]


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to