Skip to content

Commit 0bffa56

Browse files
Merge branch 'v1-2-0'
2 parents 0f30417 + ede2ffa commit 0bffa56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<add-to-group group-id="NewGroup" anchor="last"/>
129129
</action>
130130
<action id="SketchProject.New"
131-
class="io.github.francoiscambell.clionarduinoplugin.actions.NewArduinoProjectAction"
131+
class="io.github.francoiscambell.clionarduinoplugin.actions.NewArduinoProject"
132132
text="New Arduino Sketch Project" description="Creates a new Arduino sketch project"
133133
icon="/io/github/francoiscambell/clionarduinoplugin/resources/icons/Arduino_Logo.png">
134134
<add-to-group group-id="FileMenu" anchor="first"/>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
package io.github.francoiscambell.clionarduinoplugin.actions;
22

3+
import com.intellij.icons.*;
34
import com.intellij.openapi.actionSystem.*;
45
import com.intellij.openapi.wm.impl.welcomeScreen.*;
5-
import io.github.francoiscambell.clionarduinoplugin.resources.icons.*;
66
import io.github.francoiscambell.clionarduinoplugin.wizards.*;
77

88
/**
99
* Created by francois on 15-08-14.
1010
*/
11-
public class NewArduinoProjectAction extends AnAction {
11+
public class NewArduinoProject extends AnAction {
1212
public void update(AnActionEvent event) {
1313
Presentation presentation = event.getPresentation();
1414
if (ActionPlaces.isMainMenuOrActionSearch(event.getPlace())) {
1515
presentation.setIcon(null);
1616
}
1717

1818
if (NewWelcomeScreen.isNewWelcomeScreen(event)) {
19-
event.getPresentation().setIcon(ArduinoIcon.ARDUINO_ICON);
19+
event.getPresentation().setIcon(AllIcons.Welcome.CreateNewProject);
2020
}
2121

2222
}

0 commit comments

Comments
 (0)