mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] hides channel selector when IDE updates are managed externally (IDEA-190251)
This commit is contained in:
+2
-1
@@ -142,7 +142,8 @@ public class UpdateSettingsConfigurable implements SearchableConfigurable {
|
||||
|
||||
String packageManager = mySettings.getPackageManagerName();
|
||||
if (packageManager != null) {
|
||||
myUpdateChannels.setEnabled(false);
|
||||
myCheckForUpdates.setText(IdeBundle.message("updates.settings.checkbox.external"));
|
||||
myUpdateChannels.setVisible(false);
|
||||
myChannelWarning.setText(IdeBundle.message("updates.settings.external", packageManager));
|
||||
myChannelWarning.setForeground(JBColor.GRAY);
|
||||
myChannelWarning.setVisible(true);
|
||||
|
||||
@@ -968,6 +968,7 @@ updates.settings.title=Updates
|
||||
updates.last.check.never=Never
|
||||
updates.settings.check.now.button=&Check Now
|
||||
updates.settings.checkbox=Automatically check updates for
|
||||
updates.settings.checkbox.external=Automatically check for plugin updates
|
||||
updates.settings.external=IDE updates are managed externally by {0}
|
||||
updates.settings.channel.locked=EAP builds can only be updated from the EAP channel
|
||||
updates.settings.unstable=Please note that this channel is less stable than your current one.
|
||||
|
||||
Reference in New Issue
Block a user