[anjuta] project-manager: Display group name containing sub directories
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-manager: Display group name containing sub directories
- Date: Sat, 31 Mar 2012 20:55:11 +0000 (UTC)
commit b744701053c334d904a3ffc6142bc40b578e8ce4
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sat Mar 31 22:48:39 2012 +0200
project-manager: Display group name containing sub directories
plugins/project-manager/tree-data.c | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/plugins/project-manager/tree-data.c b/plugins/project-manager/tree-data.c
index 70b5bf2..06d875e 100644
--- a/plugins/project-manager/tree-data.c
+++ b/plugins/project-manager/tree-data.c
@@ -261,19 +261,7 @@ gbf_tree_data_new_group (AnjutaProjectNode *group)
data->type = anjuta_project_node_parent(group) == NULL ? GBF_TREE_NODE_ROOT : GBF_TREE_NODE_GROUP;
data->node = group;
- ginfo = g_file_query_info (anjuta_project_node_get_file (group),
- G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME,
- G_FILE_QUERY_INFO_NONE,
- NULL, NULL);
- if (ginfo)
- {
- data->name = g_strdup (g_file_info_get_display_name (ginfo));
- g_object_unref(ginfo);
- }
- else
- {
- data->name = g_strdup (anjuta_project_node_get_name (group));
- }
+ data->name = g_strdup (anjuta_project_node_get_name (group));
data->group = g_object_ref (anjuta_project_node_get_file (group));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]