Commit 7625ac6b authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid

Only marks errors as such (e.g. only messages that contains "error:")

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:")

svn path=/trunk/; revision=4787
parent 10fe4f12
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:")
2009-02-22 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/search/search-replace.c:
......@@ -781,11 +781,17 @@ on_build_mesg_format (IAnjutaMessageView *view, const gchar *one_line,
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment