Revision: 3325
http://skim-app.svn.sourceforge.net/skim-app/?rev=3325&view=rev
Author: hofman
Date: 2007-12-08 12:00:16 -0800 (Sat, 08 Dec 2007)
Log Message:
-----------
Set allowed file extensions when preparing save panel for export, as on Leopard
sending the action does not do it.
Modified Paths:
--------------
trunk/SKDocument.m
Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m 2007-12-08 19:24:51 UTC (rev 3324)
+++ trunk/SKDocument.m 2007-12-08 20:00:16 UTC (rev 3325)
@@ -221,6 +221,7 @@
if (index != -1 && index != [formatPopup indexOfSelectedItem])
{
[formatPopup selectItemAtIndex:index];
[formatPopup sendAction:[formatPopup action]
to:[formatPopup target]];
+ [savePanel setAllowedFileTypes:[[NSDocumentController
sharedDocumentController] fileExtensionsFromType:lastExportedType]];
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit