[anjuta] pm: bgo #626690 - wrong project clean on new-project



commit 343665c8a653f9ec6be394cb5a2e3e35feed17d3
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Aug 21 21:42:41 2010 +0200

    pm: bgo #626690 - wrong project clean on new-project

 plugins/build-basic-autotools/plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index 8e37fa0..af7f67b 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -2658,7 +2658,7 @@ update_project_ui (BasicAutotoolsPlugin *bb_plugin)
 	g_object_set (G_OBJECT (action), "sensitive", has_project, NULL);
 	action = anjuta_ui_get_action (ui, "ActionGroupBuild",
 								   "ActionBuildCleanProject");
-	g_object_set (G_OBJECT (action), "sensitive", has_project, NULL);
+	g_object_set (G_OBJECT (action), "sensitive", has_makefile, NULL);
 	action = anjuta_ui_get_action (ui, "ActionGroupBuild",
 								   "ActionBuildDistribution");
 	g_object_set (G_OBJECT (action), "sensitive", has_project, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]