| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/arduino18/files/ |
Upload File : |
--- app/src/processing/app/Base.java.orig 2017-03-16 17:38:01 UTC
+++ app/src/processing/app/Base.java
@@ -460,7 +460,7 @@ public class Base {
new Thread(new NewBoardListener(this)).start();
// Check for updates
- if (PreferencesData.getBoolean("update.check")) {
+ if (false) {
new UpdateCheck(this);
contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), contributionInstaller, libraryInstaller);
@@ -1055,12 +1055,7 @@ public class Base {
if (importMenu == null)
return;
importMenu.removeAll();
-
- JMenuItem menu = new JMenuItem(tr("Manage Libraries..."));
- menu.addActionListener(e -> openLibraryManager("", ""));
- importMenu.add(menu);
- importMenu.addSeparator();
-
+
JMenuItem addLibraryMenuItem = new JMenuItem(tr("Add .ZIP Library..."));
addLibraryMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -1388,31 +1383,12 @@ public class Base {
boardMenu.putClientProperty("removeOnWindowDeactivation", true);
MenuScroller.setScrollerFor(boardMenu);
- boardMenu.add(new JMenuItem(new AbstractAction(tr("Boards Manager...")) {
- public void actionPerformed(ActionEvent actionevent) {
- String filterText = "";
- String dropdownItem = "";
- if (actionevent instanceof Event) {
- filterText = ((Event) actionevent).getPayload().get("filterText").toString();
- dropdownItem = ((Event) actionevent).getPayload().get("dropdownItem").toString();
- }
- try {
- openBoardsManager(filterText, dropdownItem);
- } catch (Exception e) {
- //TODO show error
- e.printStackTrace();
- }
- }
- }));
boardsCustomMenus.add(boardMenu);
// If there are no platforms installed we are done
if (BaseNoGui.packages.size() == 0)
return;
- // Separate "Install boards..." command from installed boards
- boardMenu.add(new JSeparator());
-
// Generate custom menus for all platforms
Set<String> customMenusTitles = new HashSet<>();
for (TargetPackage targetPackage : BaseNoGui.packages.values()) {