# HG changeset patch # User wpaul # Date 1250630851 18000 # Node ID 451134ee4e6e2b72fb85c9f52bc3d81b1d056ef8 # Parent 51dbf4bbe3f74120e491aaa798cbce9cc0362218 fixed bug #9644. also fixed build hammer tooltip which had the same underlying cause. diff -r 51dbf4bbe3f7 -r 451134ee4e6e cdt/cdt_6_0_x/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java --- a/cdt/cdt_6_0_x/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java Tue Aug 18 12:42:12 2009 -0500 +++ b/cdt/cdt_6_0_x/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java Tue Aug 18 16:27:31 2009 -0500 @@ -170,7 +170,7 @@ // listen for events we're interested in ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.POST_CHANGE | IResourceChangeEvent.POST_BUILD); CoreModel.getDefault().getProjectDescriptionManager().addCProjectDescriptionListener(this, - CProjectDescriptionEvent.DATA_APPLIED); + CProjectDescriptionEvent.APPLIED); // schedule a refresh so we get up to date scheduleRefresh(); @@ -551,7 +551,7 @@ int eventType = event.getEventType(); - if (eventType == CProjectDescriptionEvent.DATA_APPLIED) { + if (eventType == CProjectDescriptionEvent.APPLIED) { synchronized (executablesMap) { // see if the active build config has changed diff -r 51dbf4bbe3f7 -r 451134ee4e6e cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/BuildActiveConfigMenuAction.java --- a/cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/BuildActiveConfigMenuAction.java Tue Aug 18 12:42:12 2009 -0500 +++ b/cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/BuildActiveConfigMenuAction.java Tue Aug 18 16:27:31 2009 -0500 @@ -77,7 +77,7 @@ public void init(IWorkbenchWindow window) { buildaction = new BuildAction(window, IncrementalProjectBuilder.INCREMENTAL_BUILD); ICProjectDescriptionManager mngr = CoreModel.getDefault().getProjectDescriptionManager(); - mngr.addCProjectDescriptionListener(this, CProjectDescriptionEvent.DATA_APPLIED); + mngr.addCProjectDescriptionListener(this, CProjectDescriptionEvent.APPLIED); } /**