Revision: 5264
http://skim-app.svn.sourceforge.net/skim-app/?rev=5264&view=rev
Author: hofman
Date: 2009-03-24 12:04:44 +0000 (Tue, 24 Mar 2009)
Log Message:
-----------
Remove unused setters for tags and rating. For now we won't make it editable.
Modified Paths:
--------------
trunk/SKMainWindowController.h
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.h
===================================================================
--- trunk/SKMainWindowController.h 2009-03-23 18:22:29 UTC (rev 5263)
+++ trunk/SKMainWindowController.h 2009-03-24 12:04:44 UTC (rev 5264)
@@ -313,10 +313,7 @@
- (void)removeObjectFromGroupedSearchResultsAtIndex:(unsigned int)theIndex;
- (NSArray *)tags;
-- (void)setTags:(NSArray *)newTags;
-
- (double)rating;
-- (void)setRating:(double)newRating;
- (NSArray *)selectedNotes;
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2009-03-23 18:22:29 UTC (rev 5263)
+++ trunk/SKMainWindowController.m 2009-03-24 12:04:44 UTC (rev 5264)
@@ -1201,30 +1201,10 @@
return tags;
}
-- (void)setTags:(NSArray *)newTags {
- if (newTags == nil) newTags = [NSArray array];
- if (tags != newTags) {
- NSUndoManager *undoManager = [[self document] undoManager];
- [[undoManager prepareWithInvocationTarget:self] setTags:tags];
- [undoManager setActionName:NSLocalizedString(@"Edit Tags", @"Undo
action name")];
- [tags release];
- tags = [newTags retain];
- }
-}
-
- (double)rating {
return rating;
}
-- (void)setRating:(double)newRating {
- if (fabs(rating - newRating) > 0.0) {
- NSUndoManager *undoManager = [[self document] undoManager];
- [[undoManager prepareWithInvocationTarget:self] setRating:rating];
- [undoManager setActionName:NSLocalizedString(@"Edit Rating", @"Undo
action name")];
- rating = newRating;
- }
-}
-
#pragma mark Full Screen support
- (void)showLeftSideWindowOnScreen:(NSScreen *)screen {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit