From c0ef7df9edefc491788ff91d2bc475f7ad222c62 Mon Sep 17 00:00:00 2001 From: espectador Date: Fri, 2 Dec 2011 23:15:07 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ Source/NSAlert.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e86418650..a9a7109ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-02 German Arias + + * Source/NSAlert.m (-_setupPanel): Verify if there is error + information to be displayed. + 2011-12-02 Wolfgang Lux * Source/NSTextView.m (-buildUpTextNetwork:): diff --git a/Source/NSAlert.m b/Source/NSAlert.m index 9603bcce4..ce371df69 100644 --- a/Source/NSAlert.m +++ b/Source/NSAlert.m @@ -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]; } }