[chirp_devel] [PATCH] Add support for opening and saving .vx6 (VX6 Commander) files
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1341515141 21600 # Node ID d494b86f87e838c741a1d72dc3061a39babce677 # Parent aaf354614d35d231a87d7f722a2e0ccb5449fcf0 Add support for opening and saving .vx6 (VX6 Commander) files.
diff -r aaf354614d35 -r d494b86f87e8 chirpui/mainapp.py --- a/chirpui/mainapp.py Thu Jul 05 13:01:03 2012 -0600 +++ b/chirpui/mainapp.py Thu Jul 05 13:05:41 2012 -0600 @@ -36,7 +36,7 @@ common.log_exception() common.show_error("\nThe Pyserial module is not installed!") from chirp import platform, generic_xml, generic_csv, directory, util -from chirp import ic9x, kenwood_live, idrp, vx7, vx5 +from chirp import ic9x, kenwood_live, idrp, vx7, vx5, vx6 from chirp import CHIRP_VERSION, chirp_common, detect, errors from chirp import icf, ic9x_icf from chirpui import editorset, clone, miscwidgets, config, reporting, fips @@ -269,6 +269,7 @@ (_("EVE Files (VX5)") + " (*.eve)", "*.eve"), (_("ICF Files") + " (*.icf)", "*.icf"), (_("VX5 Commander Files") + " (*.vx5)", "*.vx5"), + (_("VX6 Commander Files") + " (*.vx6)", "*.vx6"), (_("VX7 Commander Files") + " (*.vx7)", "*.vx7"), ] fname = platform.get_platform().gui_open_file(types=types) @@ -407,6 +408,8 @@
if isinstance(eset.radio, vx7.VX7Radio): types += [(_("VX7 Commander") + " (*.vx7)", "vx7")] + elif isinstance(eset.radio, vx6.VX6Radio): + types += [(_("VX6 Commander") + " (*.vx6)", "vx6")] elif isinstance(eset.radio, vx5.VX5Radio): types += [(_("EVE") + " (*.eve)", "eve")] types += [(_("VX5 Commander") + " (*.vx5)", "vx5")] @@ -677,6 +680,7 @@ (_("Kenwood HMK Files") + " (*.hmk)", "*.hmk"), (_("Travel Plus Files") + " (*.tpe)", "*.tpe"), (_("VX5 Commander Files") + " (*.vx5)", "*.vx5"), + (_("VX6 Commander Files") + " (*.vx6)", "*.vx6"), (_("VX7 Commander Files") + " (*.vx7)", "*.vx7")] filen = platform.get_platform().gui_open_file(types=types) if not filen:
participants (1)
-
Tom Hayward