Skip to content

Commit

Permalink
avoid usage of Messages.getCancelButton - it was added only in 2020.1
Browse files Browse the repository at this point in the history
  • Loading branch information
turbanoff committed Mar 24, 2020
1 parent d0b061d commit 14bff83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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.

Plugin is compatible with all major IDEs based on IntelliJ Platform starting from version 2018.1:
Plugin is compatible with all major IDEs based on IntelliJ Platform starting from version 2019.1:
* IntelliJ IDEA
* Android Studio
* PhpStorm
Expand Down
11 changes: 8 additions & 3 deletions resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ Also it allows to create button in toolbar to run specific configuration.<br>
]]></description>

<change-notes><![CDATA[
<h3>1.4</h3>
<h3>1.4.1</h3>
<ul>
<li>Fix compatibility problems.
Dropped support of 2018.x IDE. Now only 2019.1+ are supported.
</li>
</ul>
<h3>1.4</h3>
<ul>
<li>Fix customs icons loading for registered actions.
Dropped support of 2018.1 IDE. Now only 2018.2+ are supported.
</li>
</ul>
<h3>1.3</h3>
Expand All @@ -35,7 +40,7 @@ Also it allows to create button in toolbar to run specific configuration.<br>
]]>
</change-notes>

<idea-version since-build="182"/>
<idea-version since-build="191"/>

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void actionPerformed(@NotNull AnActionEvent e) {
IdeBundle.message("prompt.overwrite.settings.file", child.toString()),
IdeBundle.message("title.file.already.exists"),
IdeBundle.message("action.overwrite"),
Messages.getCancelButton(),
"Cancel",
Messages.getWarningIcon()))
return;
}
Expand Down

0 comments on commit 14bff83

Please sign in to comment.