diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType.png new file mode 100644 index 000000000000..d770170b84f4 Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType.png differ diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png new file mode 100644 index 000000000000..f6f4f91a2e6e Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png differ diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png new file mode 100644 index 000000000000..ec2d398c09a3 Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png differ diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png new file mode 100644 index 000000000000..84f6fe039db2 Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png differ diff --git a/python/edu/course-creator/src/icons/CourseCreatorIcons.java b/python/edu/course-creator/src/icons/CourseCreatorIcons.java index cd101d5afc33..191ce0d55b30 100644 --- a/python/edu/course-creator/src/icons/CourseCreatorIcons.java +++ b/python/edu/course-creator/src/icons/CourseCreatorIcons.java @@ -13,5 +13,6 @@ public class CourseCreatorIcons { return IconLoader.getIcon(path, CourseCreatorIcons.class); } + public static final Icon CourseCreationProjectType = load("/icons/CourseCreationProjectType.png"); // 32x32 public static final Icon Gutter = load("/icons/gutter.png"); // 16x16 } diff --git a/python/edu/course-creator/src/org/jetbrains/plugins/coursecreator/CCProjectGenerator.java b/python/edu/course-creator/src/org/jetbrains/plugins/coursecreator/CCProjectGenerator.java index dbaa7265f5c1..73e5bc7edf93 100644 --- a/python/edu/course-creator/src/org/jetbrains/plugins/coursecreator/CCProjectGenerator.java +++ b/python/edu/course-creator/src/org/jetbrains/plugins/coursecreator/CCProjectGenerator.java @@ -16,6 +16,7 @@ import com.intellij.platform.DirectoryProjectGenerator; import com.intellij.psi.PsiDirectory; import com.intellij.psi.PsiManager; import com.jetbrains.python.newProject.PythonProjectGenerator; +import icons.CourseCreatorIcons; import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -44,7 +45,7 @@ public class CCProjectGenerator extends PythonProjectGenerator implements Direct @Nullable @Override public Icon getLogo() { - return null; + return CourseCreatorIcons.CourseCreationProjectType; }