Skip to content

Commit

Permalink
Merge pull request #131 from joshschmelzle/main
Browse files Browse the repository at this point in the history
Order reg dom screen by alphabet after US
  • Loading branch information
joshschmelzle authored Dec 16, 2024
2 parents 1fa36ef + c533dd8 commit f4d1b7f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
wlanpi-fpms (1.4.7) unstable; urgency=medium
wlanpi-fpms (1.4.7-1) unstable; urgency=medium

* Add NO as regdom choice
* Add Norway (NO) as RF domain choice

-- Josh Schmelzle <[email protected]> Mon, 16 Dec 2024 11:32:51 -0500

Expand Down
16 changes: 8 additions & 8 deletions fpms/fpms.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,20 +838,20 @@ def create_shortcut(menu, path, location=[]):
{"name": "Show Domain", "action": show_reg_domain},
{"name": "Set Domain US", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_us},]},
{"name": "Set Domain CA", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_ca},]},
{"name": "Set Domain GB", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_gb},]},
{"name": "Set Domain BR", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_br},]},
{"name": "Set Domain FR", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_fr},]},
{"name": "Set Domain CA", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_ca},]},
{"name": "Set Domain CZ", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_cz},]},
{"name": "Set Domain NL", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_nl},]},
{"name": "Set Domain DE", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_de},]},
{"name": "Set Domain FR", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_fr},]},
{"name": "Set Domain GB", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_gb},]},
{"name": "Set Domain NL", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_nl},]},
{"name": "Set Domain NO", "action": [
{"name": "Confirm & Reboot", "action": set_reg_domain_no},]},
]},
Expand Down
2 changes: 1 addition & 1 deletion fpms/modules/reg_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def show_reg_domain(self, g_vars):
self.alert_obj.display_alert_error(g_vars, 'Failed to get domain or no domain configured')
g_vars['display_state'] = 'menu'
return
output[0] = 'Domain: ' + output[0]
output[0] = 'RF Domain: ' + output[0]
self.paged_table_obj.display_list_as_paged_table(g_vars, output, title="Show Domain")
g_vars['display_state'] = 'page'

Expand Down

0 comments on commit f4d1b7f

Please sign in to comment.