Revision: 3140
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3140&view=rev
Author:   hofman
Date:     2007-11-03 16:57:33 -0700 (Sat, 03 Nov 2007)

Log Message:
-----------
Remove all undo actions and undirty document when initially setting the print 
orientation. Undoing the dirtying does not work on Leopard.

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

Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m  2007-11-03 16:58:46 UTC (rev 3139)
+++ trunk/SKDocument.m  2007-11-03 23:57:33 UTC (rev 3140)
@@ -150,6 +150,8 @@
             [printInfo setOrientation:requiredOrientation];
             [self setPrintInfo:printInfo];
             [printInfo release];
+            [[self undoManager] removeAllActions];
+            [self updateChangeCount:NSChangeCleared];
         }
     }
     


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to