def create_menu(self): menu = fsui.PopupMenu() if LauncherSettings.get(Option.DATABASE_AUTH): menu.add_item(gettext("Update Game Database"), self.on_update_game_database) menu.add_item(gettext("Update File Database"), self.on_update_file_database) menu.add_separator() menu.add_item(gettext("ADF Creator"), self.on_adf_creator) menu.add_item(gettext("HDF Creator"), self.on_hdf_creator) if LauncherSettings.get(Option.NETPLAY_FEATURE) != "0": menu.add_item(gettext("Net Play"), self.on_net_play) menu.add_separator() menu.add_item( gettext("Import Kickstarts") + "...", self.on_import_kickstarts) menu.add_item( gettext("Amiga Forever Import") + "...", self.on_import_kickstarts) menu.add_separator() self.add_user_menu_content(menu) menu.add_separator() # menu.add_item( # gettext("Kickstarts & ROMs"), self.on_import_kickstarts) if LauncherSettings.get(Option.LAUNCHER_SETUP_WIZARD_FEATURE): menu.add_item( gettext("Setup Wizard") + "...", self.on_setup_wizard) menu.add_preferences_item(gettext("Settings"), self.on_settings_button) menu.add_separator() menu.add_item( gettext("About {name}").format(name="OpenRetro.org"), self.on_what_is_this, ) if fsgs_module.product == "OpenRetro": app_name = "OpenRetro Launcher" else: app_name = "FS-UAE Launcher" menu.add_about_item( gettext("About {name}").format(name=app_name), self.on_about) menu.add_separator() menu.add_about_item(gettext("Quit"), self.on_quit) return menu
def create_menu(self): menu = fsui.PopupMenu() if LauncherSettings.get(Option.DATABASE_AUTH): menu.add_item(gettext("Update Game Database"), self.on_update_game_database) menu.add_item(gettext("Update File Database"), self.on_update_file_database) menu.add_separator() menu.add_item(gettext("ADF Creator"), self.on_adf_creator) menu.add_item(gettext("HDF Creator"), self.on_hdf_creator) if LauncherSettings.get(Option.NETPLAY_FEATURE) != "0": menu.add_item(gettext("Net Play"), self.on_net_play) menu.add_separator() menu.add_item( gettext("Import Kickstarts") + "...", self.on_import_kickstarts) menu.add_item( gettext("Amiga Forever Import") + "...", self.on_import_kickstarts) menu.add_separator() self.add_user_menu_content(menu) menu.add_separator() # menu.add_item( # gettext("Kickstarts & ROMs"), self.on_import_kickstarts) menu.add_preferences_item(gettext("Settings"), self.on_settings_button) menu.add_separator() menu.add_item( gettext("About {name}").format(name="OAGD.net"), self.on_what_is_this) menu.add_about_item( gettext("About {name}").format(name="FS-UAE Launcher"), self.on_about) menu.add_separator() menu.add_about_item(gettext("Quit"), self.on_quit) return menu