[anjuta] build-basic-autotools: Only draw marks in the correct file
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] build-basic-autotools: Only draw marks in the correct file
- Date: Thu, 25 Nov 2010 15:17:55 +0000 (UTC)
commit 97faf0bacc7b022d14989a5eb09a5bc94309ebc5
Author: Johannes Schmid <jhs gnome org>
Date: Thu Nov 25 14:47:57 2010 +0100
build-basic-autotools: Only draw marks in the correct file
plugins/build-basic-autotools/plugin.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index 3d92027..a9253f5 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -364,7 +364,8 @@ build_indicator_location_set (BuildIndicatorLocation *loc,
g_object_unref (line_end);
}
if (editor && editor_filename &&
- IANJUTA_IS_MARKABLE (editor))
+ IANJUTA_IS_MARKABLE (editor) &&
+ strcmp (editor_filename, loc->filename) == 0)
{
ianjuta_markable_mark (IANJUTA_MARKABLE (editor),
loc->line, IANJUTA_MARKABLE_MESSAGE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]