Fix incorrect assignment in NSProgressIndicator -setDisplayedWhenStopped:

which made that method a no-op.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29266 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-01-11 21:15:54 +00:00
parent 93a86be317
commit 94c17965b4
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-01-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSProgressIndicator.m (-setDisplayedWhenStopped): Fix
incorrect assignment which made this method a no-op.
2010-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Resources/Italian.lproj/Localizable.strings: Regenerate this
@ -18,7 +23,7 @@
* Source/NSAttributedString.m (-fixAttachmentAttributeInRange:):
Keep the local copy of string up to date.
2010-01-09 Wolfgang Lux <wolfgang.lux@mail.com>
2010-01-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTextView.m (-performDragOperation:): Fix a bug that
prevented changing the color of the selected text of a text view

View file

@ -276,8 +276,11 @@
- (void) setDisplayedWhenStopped: (BOOL)flag
{
_isDisplayedWhenStopped = _isDisplayedWhenStopped;
[self setNeedsDisplay: YES];
if (flag != _isDisplayedWhenStopped)
{
_isDisplayedWhenStopped = flag;
[self setNeedsDisplay: YES];
}
}
- (NSProgressIndicatorStyle) style