mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:50:38 +00:00
Rename color (list) change notifications to match Cocoa (and OpenStep).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31893 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
da43c7104b
commit
865193b4bf
8 changed files with 32 additions and 12 deletions
|
@ -676,7 +676,7 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel;
|
|||
}
|
||||
|
||||
/** <p>Sets the NSColor displayed to aColor. This method post a
|
||||
NSColorPanelColorChangedNotification notification if needed.</p>
|
||||
NSColorPanelColorDidChangeNotification notification if needed.</p>
|
||||
<p>See Also: -color [NSColorWell-setColor:]
|
||||
</p>
|
||||
*/
|
||||
|
@ -691,7 +691,7 @@ static int _gs_gui_color_picker_mode = NSRGBModeColorPanel;
|
|||
[NSApp sendAction: _action to: _target from: self];
|
||||
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
postNotificationName: NSColorPanelColorChangedNotification
|
||||
postNotificationName: NSColorPanelColorDidChangeNotification
|
||||
object: (id)self];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue