[anjuta] am: Fix target type in target properties dialog
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] am: Fix target type in target properties dialog
- Date: Fri, 3 Dec 2010 21:44:02 +0000 (UTC)
commit e02f8e40eb02bb0c609b3f592515bfa46f7b6981
Author: Sébastien Granjoux <seb sfo free fr>
Date: Fri Dec 3 22:32:46 2010 +0100
am: Fix target type in target properties dialog
plugins/project-manager/dialogs.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/plugins/project-manager/dialogs.c b/plugins/project-manager/dialogs.c
index 7bf13b0..a2e585b 100644
--- a/plugins/project-manager/dialogs.c
+++ b/plugins/project-manager/dialogs.c
@@ -539,7 +539,7 @@ create_properties_table (IAnjutaProject *project, AnjutaProjectNode *node)
/* Display node type only if several types are possible */
node_info = NULL;
single = TRUE;
- type = anjuta_project_node_get_node_type (node);
+ type = anjuta_project_node_get_full_type (node);
for (item = ianjuta_project_get_node_info (project, NULL); item != NULL; item = g_list_next (item))
{
AnjutaProjectNodeInfo* info = (AnjutaProjectNodeInfo *)item->data;
@@ -552,11 +552,10 @@ create_properties_table (IAnjutaProject *project, AnjutaProjectNode *node)
{
single = FALSE;
}
- if (!single && (node_info != NULL))
- {
- add_label (_("Type:"), anjuta_project_node_info_name (node_info), main_table, &main_pos);
- break;
- }
+ }
+ if (!single && (node_info != NULL))
+ {
+ add_label (_("Type:"), anjuta_project_node_info_name (node_info), main_table, &main_pos);
}
/* Display other node properties */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]