Revision: 6850
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6850&view=rev
Author:   hofman
Date:     2010-09-29 10:19:37 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
remove unused attributed string and state properties of status bar

Modified Paths:
--------------
    trunk/SKStatusBar.h
    trunk/SKStatusBar.m

Modified: trunk/SKStatusBar.h
===================================================================
--- trunk/SKStatusBar.h 2010-09-29 00:04:55 UTC (rev 6849)
+++ trunk/SKStatusBar.h 2010-09-29 10:19:37 UTC (rev 6850)
@@ -58,11 +58,10 @@
 
 @property (nonatomic, readonly) BOOL isVisible;
 @property (nonatomic, readonly, getter=isAnimating) BOOL animating;
-...@property (nonatomic, copy) NSString *leftStringValue,  *rightStringValue;
-...@property (nonatomic, copy) NSAttributedString *leftAttributedStringValue, 
*rightAttributedStringValue;
+...@property (nonatomic, copy) NSString *leftStringValue, *rightStringValue;
 @property (nonatomic) SEL leftAction, rightAction;
 @property (nonatomic, assign) id leftTarget, rightTarget;
-...@property (nonatomic) NSInteger leftState, rightState, state;
+...@property (nonatomic) NSInteger leftState, rightState;
 @property (nonatomic, retain) NSFont *font; 
 @property (nonatomic, retain) id iconCell; 
 @property (nonatomic, readonly) NSProgressIndicator *progressIndicator;

Modified: trunk/SKStatusBar.m
===================================================================
--- trunk/SKStatusBar.m 2010-09-29 00:04:55 UTC (rev 6849)
+++ trunk/SKStatusBar.m 2010-09-29 10:19:37 UTC (rev 6850)
@@ -59,7 +59,7 @@
 @implementation SKStatusBar
 
 @synthesize animating, iconCell;
-...@dynamic isVisible, leftStringValue, leftAttributedStringValue, 
rightStringValue, rightAttributedStringValue, leftAction, leftTarget, 
rightAction, rightTarget, leftState, rightState, state, font, 
progressIndicator, progressIndicatorStyle;
+...@dynamic isVisible, leftStringValue, rightStringValue, leftAction, 
leftTarget, rightAction, rightTarget, leftState, rightState, font, 
progressIndicator, progressIndicatorStyle;
 
 - (id)initWithFrame:(NSRect)frame {
     self = [super initWithFrame:frame];
@@ -269,16 +269,6 @@
     [self updateTrackingAreas];
 }
 
-- (NSAttributedString *)leftAttributedStringValue {
-       return [leftCell attributedStringValue];
-}
-
-- (void)setLeftAttributedStringValue:(NSAttributedString *)object {
-       [leftCell setAttributedStringValue:object];
-       [self setNeedsDisplay:YES];
-    [self updateTrackingAreas];
-}
-
 - (NSString *)rightStringValue {
        return [rightCell stringValue];
 }
@@ -289,16 +279,6 @@
     [self updateTrackingAreas];
 }
 
-- (NSAttributedString *)rightAttributedStringValue {
-       return [rightCell attributedStringValue];
-}
-
-- (void)setRightAttributedStringValue:(NSAttributedString *)object {
-       [rightCell setAttributedStringValue:object];
-       [self setNeedsDisplay:YES];
-    [self updateTrackingAreas];
-}
-
 - (NSFont *)font {
        return [leftCell font];
 }
@@ -375,14 +355,6 @@
     [rightCell setState:newState];
 }
 
-- (NSInteger)state {
-    return [self rightState];
-}
-
-- (void)setState:(NSInteger)newState {
-    [self setRightState:newState];
-}
-
 - (void)setIconCell:(id)newIconCell {
     if (iconCell != newIconCell) {
         [iconCell release];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to