Verify if there is error information to be displayed in an Alert panel

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34242 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2011-12-02 23:15:07 +00:00
parent 6365fa5127
commit 8936dbf826
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-12-02 German Arias <german@xelalug.org>
* Source/NSAlert.m (-_setupPanel): Verify if there is error
information to be displayed.
2011-12-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTextView.m (-buildUpTextNetwork:):

View file

@ -2002,7 +2002,7 @@ void NSBeginInformationalAlertSheet(NSString *title,
[panel setTitleBar: title
icon: _icon
title: _message_text != nil ? _message_text : _(@"Alert")
message: _informative_text];
message: _informative_text != nil ? _informative_text : _(@"No information")];
[panel setButtons: _buttons];
}
}