Revision: 7541 http://skim-app.svn.sourceforge.net/skim-app/?rev=7541&view=rev Author: hofman Date: 2011-11-18 10:52:24 +0000 (Fri, 18 Nov 2011) Log Message: ----------- show color panel when double clicking in color column in note table
Modified Paths: -------------- trunk/SKMainWindowController_Actions.m Modified: trunk/SKMainWindowController_Actions.m =================================================================== --- trunk/SKMainWindowController_Actions.m 2011-11-16 18:21:15 UTC (rev 7540) +++ trunk/SKMainWindowController_Actions.m 2011-11-18 10:52:24 UTC (rev 7541) @@ -182,6 +182,12 @@ [pdfView scrollAnnotationToVisible:annotation]; [pdfView setActiveAnnotation:annotation]; } + NSInteger column = [sender clickedColumn]; + if (column != -1) { + NSString *colID = [[[sender tableColumns] objectAtIndex:column] identifier]; + if ([colID isEqualToString:@"color"]) + [[NSColorPanel sharedColorPanel] orderFront:nil]; + } } else NSBeep(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit