CVS commit by amantia: Display the exit status messages (eg. Success). Might need to be backported. "Fix" --enable-final compilation in languages/ada. CCMAIL: kdevelop-devel@kdevelop.org M +2 -0 languages/ada/Makefile.am 1.11 M +7 -5 parts/outputviews/makeitem.cpp 1.12 --- kdevelop/languages/ada/Makefile.am #1.10:1.11 @@ -36,2 +36,4 @@ rcdir = $(kde_datadir)/kdevadasupport rc_DATA = kdevadasupport.rc + +KDE_OPTIONS = nofinal --- kdevelop/parts/outputviews/makeitem.cpp #1.11:1.12 @@ -14,4 +14,5 @@ #include +#include #include @@ -123,13 +124,14 @@ ExitStatusItem::ExitStatusItem( bool nor , m_exitStatus( exitStatus ) { + m_text = i18n("*** Compilation aborted ***"); + if ( m_normalExit && m_exitStatus ) + m_text = i18n("*** Exited with status: %1 ***").arg( m_exitStatus ); + if ( m_normalExit ) + m_text = i18n("*** Success ***"); } QString ExitStatusItem::text( EOutputLevel ) { - if ( m_normalExit && m_exitStatus ) - return i18n("*** Exited with status: %1 ***").arg( m_exitStatus ); - if ( m_normalExit ) - return i18n("*** Success ***"); - return i18n("*** Compilation aborted ***"); + return m_text; } _______________________________________________ Kdevelop-devel mailing list Kdevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel