anjuta r4787 - in trunk: . plugins/build-basic-autotools
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4787 - in trunk: . plugins/build-basic-autotools
- Date: Mon, 23 Feb 2009 08:30:02 +0000 (UTC)
Author: jhs
Date: Mon Feb 23 08:30:02 2009
New Revision: 4787
URL: http://svn.gnome.org/viewvc/anjuta?rev=4787&view=rev
Log:
2009-02-23 Johannes Schmid <jhs gnome org>
* plugins/build-basic-autotools/plugin.c (on_build_mesg_format):
Only marks errors as such (e.g. only messages that contains "error:")
Modified:
trunk/ChangeLog
trunk/plugins/build-basic-autotools/plugin.c
Modified: trunk/plugins/build-basic-autotools/plugin.c
==============================================================================
--- trunk/plugins/build-basic-autotools/plugin.c (original)
+++ trunk/plugins/build-basic-autotools/plugin.c Mon Feb 23 08:30:02 2009
@@ -781,11 +781,17 @@
type = IANJUTA_MESSAGE_VIEW_TYPE_WARNING;
indicator = IANJUTA_INDICABLE_WARNING;
}
- else
+ else if ((strstr (line, "error:") != NULL) ||
+ (strstr (line, _("error:")) != NULL))
{
type = IANJUTA_MESSAGE_VIEW_TYPE_ERROR;
indicator = IANJUTA_INDICABLE_CRITICAL;
}
+ else
+ {
+ type = IANJUTA_MESSAGE_VIEW_TYPE_NORMAL;
+ indicator = IANJUTA_INDICABLE_IMPORTANT;
+ }
mid_str = strstr (line, dummy_fn);
DEBUG_PRINT ("mid_str = %s, line = %s", mid_str, line);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]