Skip to content

Commit 14bff83

Browse files
committed
avoid usage of Messages.getCancelButton - it was added only in 2020.1
1 parent d0b061d commit 14bff83

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Plugins for Jetbrains IDEs. It's provides a way to use run configurations as buttons on toolbar. Or assign shortcuts to execute specific run configuration.
44

5-
Plugin is compatible with all major IDEs based on IntelliJ Platform starting from version 2018.1:
5+
Plugin is compatible with all major IDEs based on IntelliJ Platform starting from version 2019.1:
66
* IntelliJ IDEA
77
* Android Studio
88
* PhpStorm

resources/META-INF/plugin.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ Also it allows to create button in toolbar to run specific configuration.<br>
1111
]]></description>
1212

1313
<change-notes><![CDATA[
14-
<h3>1.4</h3>
14+
<h3>1.4.1</h3>
15+
<ul>
16+
<li>Fix compatibility problems.
17+
Dropped support of 2018.x IDE. Now only 2019.1+ are supported.
18+
</li>
19+
</ul>
20+
<h3>1.4</h3>
1521
<ul>
1622
<li>Fix customs icons loading for registered actions.
17-
Dropped support of 2018.1 IDE. Now only 2018.2+ are supported.
1823
</li>
1924
</ul>
2025
<h3>1.3</h3>
@@ -35,7 +40,7 @@ Also it allows to create button in toolbar to run specific configuration.<br>
3540
]]>
3641
</change-notes>
3742

38-
<idea-version since-build="182"/>
43+
<idea-version since-build="191"/>
3944

4045
<depends>com.intellij.modules.platform</depends>
4146

src/org/turbanov/actions/CreateExecuteIconWithTextAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void actionPerformed(@NotNull AnActionEvent e) {
6565
IdeBundle.message("prompt.overwrite.settings.file", child.toString()),
6666
IdeBundle.message("title.file.already.exists"),
6767
IdeBundle.message("action.overwrite"),
68-
Messages.getCancelButton(),
68+
"Cancel",
6969
Messages.getWarningIcon()))
7070
return;
7171
}

0 commit comments

Comments
 (0)