1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Introjucer: some refactoring, new icon.

This commit is contained in:
jules 2012-08-31 10:46:33 +01:00
parent d6848d3bb1
commit ebb7b6db74
13 changed files with 836 additions and 52 deletions

View file

@ -66,7 +66,7 @@ Project::Project (const File& file_)
Project::~Project()
{
projectRoot.removeListener (this);
JucerApplication::getApp().openDocumentManager.closeAllDocumentsUsingProject (*this, false);
IntrojucerApp::getApp().openDocumentManager.closeAllDocumentsUsingProject (*this, false);
}
//==============================================================================
@ -126,6 +126,8 @@ void Project::setMissingDefaultValues()
if (getBundleIdentifier().toString().isEmpty())
getBundleIdentifier() = getDefaultBundleIdentifier();
IntrojucerApp::getApp().updateNewlyOpenedProject (*this);
}
void Project::updateOldStyleConfigList()
@ -540,7 +542,7 @@ bool Project::Item::renameFile (const File& newFile)
|| (newFile.exists() && ! oldFile.exists()))
{
setFile (newFile);
JucerApplication::getApp().openDocumentManager.fileHasBeenRenamed (oldFile, newFile);
IntrojucerApp::getApp().openDocumentManager.fileHasBeenRenamed (oldFile, newFile);
return true;
}