From: <ho...@us...> - 2007-08-30 16:59:19
|
Revision: 2785 http://skim-app.svn.sourceforge.net/skim-app/?rev=2785&view=rev Author: hofman Date: 2007-08-30 09:59:11 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Add a "Select None" menu item. Validate selectAll: and deselectAll: for tables. Modified Paths: -------------- trunk/Dutch.lproj/MainMenu.nib/classes.nib trunk/Dutch.lproj/MainMenu.nib/info.nib trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib trunk/Dutch.lproj/MainWindow.nib/info.nib trunk/Dutch.lproj/MainWindow.nib/keyedobjects.nib trunk/English.lproj/MainMenu.nib/classes.nib trunk/English.lproj/MainMenu.nib/keyedobjects.nib trunk/English.lproj/MainWindow.nib/info.nib trunk/English.lproj/MainWindow.nib/keyedobjects.nib trunk/French.lproj/MainMenu.nib/classes.nib trunk/French.lproj/MainMenu.nib/keyedobjects.nib trunk/French.lproj/MainWindow.nib/keyedobjects.nib trunk/Italian.lproj/MainMenu.nib/classes.nib trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib trunk/Italian.lproj/MainWindow.nib/info.nib trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib trunk/SKOutlineView.m trunk/SKTableView.m Modified: trunk/Dutch.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -15,6 +15,7 @@ createNewNote = id; crop = id; cropAll = id; + deselectAll = id; displayCropBox = id; displayFacingPages = id; displayMediaBox = id; Modified: trunk/Dutch.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/Dutch.lproj/MainMenu.nib/info.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/Dutch.lproj/MainMenu.nib/info.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -7,10 +7,14 @@ <key>IBEditorPositions</key> <dict> <key>29</key> - <string>140 614 542 44 0 0 1440 938 </string> + <string>140 614 635 44 0 0 1440 938 </string> </dict> <key>IBFramework Version</key> <string>446.1</string> + <key>IBOpenObjects</key> + <array> + <integer>29</integer> + </array> <key>IBSystem Version</key> <string>8R218</string> </dict> Modified: trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Dutch.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/Dutch.lproj/MainWindow.nib/info.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/Dutch.lproj/MainWindow.nib/info.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -31,8 +31,9 @@ </array> <key>IBOpenObjects</key> <array> + <integer>502</integer> <integer>224</integer> - <integer>502</integer> + <integer>256</integer> </array> <key>IBSystem Version</key> <string>8R218</string> Modified: trunk/Dutch.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/English.lproj/MainMenu.nib/classes.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/English.lproj/MainMenu.nib/classes.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -15,6 +15,7 @@ createNewNote = id; crop = id; cropAll = id; + deselectAll = id; displayCropBox = id; displayFacingPages = id; displayMediaBox = id; Modified: trunk/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/English.lproj/MainWindow.nib/info.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/English.lproj/MainWindow.nib/info.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -31,20 +31,20 @@ </array> <key>IBOpenObjects</key> <array> - <integer>585</integer> - <integer>511</integer> + <integer>633</integer> + <integer>502</integer> + <integer>314</integer> + <integer>224</integer> + <integer>5</integer> <integer>553</integer> - <integer>168</integer> <integer>694</integer> - <integer>314</integer> - <integer>5</integer> - <integer>539</integer> + <integer>511</integer> <integer>687</integer> - <integer>633</integer> <integer>208</integer> + <integer>585</integer> + <integer>168</integer> + <integer>539</integer> <integer>256</integer> - <integer>224</integer> - <integer>502</integer> </array> <key>IBSystem Version</key> <string>8R218</string> Modified: trunk/English.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/French.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/French.lproj/MainMenu.nib/classes.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/French.lproj/MainMenu.nib/classes.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -15,6 +15,7 @@ createNewNote = id; crop = id; cropAll = id; + deselectAll = id; displayCropBox = id; displayFacingPages = id; displayMediaBox = id; Modified: trunk/French.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/French.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -15,6 +15,7 @@ createNewNote = id; crop = id; cropAll = id; + deselectAll = id; displayCropBox = id; displayFacingPages = id; displayMediaBox = id; Modified: trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/Italian.lproj/MainWindow.nib/info.nib 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/Italian.lproj/MainWindow.nib/info.nib 2007-08-30 16:59:11 UTC (rev 2785) @@ -31,18 +31,18 @@ </array> <key>IBOpenObjects</key> <array> - <integer>676</integer> + <integer>256</integer> + <integer>539</integer> <integer>511</integer> - <integer>314</integer> + <integer>208</integer> <integer>224</integer> - <integer>502</integer> - <integer>539</integer> - <integer>208</integer> + <integer>676</integer> <integer>677</integer> - <integer>628</integer> <integer>5</integer> - <integer>256</integer> + <integer>314</integer> + <integer>502</integer> <integer>553</integer> + <integer>628</integer> <integer>168</integer> </array> <key>IBSystem Version</key> Modified: trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/SKOutlineView.m =================================================================== --- trunk/SKOutlineView.m 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/SKOutlineView.m 2007-08-30 16:59:11 UTC (rev 2785) @@ -154,6 +154,10 @@ return [self canDelete]; else if ([menuItem action] == @selector(copy:)) return [self canCopy]; + else if ([menuItem action] == @selector(selectAll:)) + return [self allowsMultipleSelection]; + else if ([menuItem action] == @selector(deselectAll:)) + return [self allowsEmptySelection]; else if ([[SKOutlineView superclass] instancesRespondToSelector:@selector(validateMenuItem:)]) return [super validateMenuItem:menuItem]; return YES; Modified: trunk/SKTableView.m =================================================================== --- trunk/SKTableView.m 2007-08-30 15:32:21 UTC (rev 2784) +++ trunk/SKTableView.m 2007-08-30 16:59:11 UTC (rev 2785) @@ -134,6 +134,10 @@ return [self canDelete]; else if ([menuItem action] == @selector(copy:)) return [self canCopy]; + else if ([menuItem action] == @selector(selectAll:)) + return [self allowsMultipleSelection]; + else if ([menuItem action] == @selector(deselectAll:)) + return [self allowsEmptySelection]; else if ([[SKTableView superclass] instancesRespondToSelector:@selector(validateMenuItem:)]) return [super validateMenuItem:menuItem]; return YES; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |