CheckForUpdatesInit.js 456 B

1234567891011121314
  1. function init(basePath) {
  2. if (RSettings.hasQuitFlag()) {
  3. return;
  4. }
  5. var action = new RGuiAction(qsTranslate("CheckForUpdates", "Check for &Updates..."), RMainWindowQt.getMainWindow());
  6. action.setRequiresDocument(false);
  7. action.setScriptFile(basePath + "/CheckForUpdates.js");
  8. action.setNoState();
  9. action.setGroupSortOrder(110300);
  10. action.setSortOrder(100);
  11. action.setWidgetNames(["HelpMenu", "!HelpToolBar"]);
  12. }