mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use full product name with edition on welcome screen
This commit is contained in:
+4
-1
@@ -524,7 +524,10 @@ public class FlatWelcomeFrame extends JFrame implements IdeFrame, Disposable, Ac
|
||||
logo.setBorder(JBUI.Borders.empty(30,0,10,0));
|
||||
logo.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
panel.add(logo, BorderLayout.NORTH);
|
||||
JLabel appName = new JLabel(ApplicationNamesInfo.getInstance().getFullProductName());
|
||||
final String applicationName = Boolean.getBoolean("ide.ui.name.with.edition")
|
||||
? ApplicationNamesInfo.getInstance().getFullProductNameWithEdition()
|
||||
: ApplicationNamesInfo.getInstance().getFullProductName();
|
||||
JLabel appName = new JLabel(applicationName);
|
||||
Font font = getProductFont();
|
||||
appName.setForeground(JBColor.foreground());
|
||||
appName.setFont(font.deriveFont(JBUI.scale(36f)).deriveFont(Font.PLAIN));
|
||||
|
||||
+1
@@ -25,6 +25,7 @@ class PyCharmEduProperties extends PyCharmPropertiesBase {
|
||||
"python-community-ide", "python-community-configure", "educational-python", "python-openapi", "python-psi-api", "platform-main"
|
||||
]
|
||||
productLayout.bundledPluginModules = new File("$pythonCommunityPath/educational-python/build/plugin-list.txt").readLines()
|
||||
additionalIDEPropertiesFilePaths = ["$home/community/python/educational-python/build/pycharm-edu.properties".toString()]
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ide.ui.name.with.edition=true
|
||||
Reference in New Issue
Block a user