Revision: 3529 http://skim-app.svn.sourceforge.net/skim-app/?rev=3529&view=rev Author: hofman Date: 2008-03-22 07:15:42 -0700 (Sat, 22 Mar 2008)
Log Message: ----------- Disable inserted toolbar items when running customization palette. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2008-03-22 14:10:18 UTC (rev 3528) +++ trunk/SKMainWindowController.m 2008-03-22 14:15:42 UTC (rev 3529) @@ -5338,7 +5338,7 @@ [noteButton setEnabled:enabled forSegment:SKUnderlineNote]; [noteButton setEnabled:enabled forSegment:SKStrikeOutNote]; } - return YES; + return NO == [[mainWindow toolbar] customizationPaletteIsRunning]; } - (BOOL)validateMenuItem:(NSMenuItem *)menuItem { 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit