[anjuta] am-project: Show dependent packages in tree
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] am-project: Show dependent packages in tree
- Date: Tue, 7 Dec 2010 14:02:03 +0000 (UTC)
commit 5933d1c3a78f5b3fba570992b26cef9ed26648cd
Author: Johannes Schmid <jhs gnome org>
Date: Tue Dec 7 14:59:37 2010 +0100
am-project: Show dependent packages in tree
plugins/am-project/am-project.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/am-project/am-project.c b/plugins/am-project/am-project.c
index b57b8b2..bcc4a21 100644
--- a/plugins/am-project/am-project.c
+++ b/plugins/am-project/am-project.c
@@ -2052,10 +2052,16 @@ amp_project_load_package (AmpProject *project, AnjutaProjectNode *node, GError *
{
if (strlen (*depend) && !amp_project_ignore_package (*depend))
{
+ AnjutaProjectNode *pkg;
dependency_dirs = g_list_concat (dependency_dirs,
amp_project_get_includes (*depend));
+ /* Create a package node for the depedencies */
+
+ pkg = project_node_new (project, ANJUTA_PROJECT_PACKAGE, NULL, *depend, NULL);
+ anjuta_project_node_append (node, pkg);
}
}
+ g_strfreev (depends);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]