Skip to content

Commit f4d1b7f

Browse files
Merge pull request #131 from joshschmelzle/main
Order reg dom screen by alphabet after US
2 parents 1fa36ef + c533dd8 commit f4d1b7f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

debian/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
wlanpi-fpms (1.4.7) unstable; urgency=medium
1+
wlanpi-fpms (1.4.7-1) unstable; urgency=medium
22

3-
* Add NO as regdom choice
3+
* Add Norway (NO) as RF domain choice
44

55
-- Josh Schmelzle <josh@joshschmelzle.com> Mon, 16 Dec 2024 11:32:51 -0500
66

fpms/fpms.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -838,20 +838,20 @@ def create_shortcut(menu, path, location=[]):
838838
{"name": "Show Domain", "action": show_reg_domain},
839839
{"name": "Set Domain US", "action": [
840840
{"name": "Confirm & Reboot", "action": set_reg_domain_us},]},
841-
{"name": "Set Domain CA", "action": [
842-
{"name": "Confirm & Reboot", "action": set_reg_domain_ca},]},
843-
{"name": "Set Domain GB", "action": [
844-
{"name": "Confirm & Reboot", "action": set_reg_domain_gb},]},
845841
{"name": "Set Domain BR", "action": [
846842
{"name": "Confirm & Reboot", "action": set_reg_domain_br},]},
847-
{"name": "Set Domain FR", "action": [
848-
{"name": "Confirm & Reboot", "action": set_reg_domain_fr},]},
843+
{"name": "Set Domain CA", "action": [
844+
{"name": "Confirm & Reboot", "action": set_reg_domain_ca},]},
849845
{"name": "Set Domain CZ", "action": [
850846
{"name": "Confirm & Reboot", "action": set_reg_domain_cz},]},
851-
{"name": "Set Domain NL", "action": [
852-
{"name": "Confirm & Reboot", "action": set_reg_domain_nl},]},
853847
{"name": "Set Domain DE", "action": [
854848
{"name": "Confirm & Reboot", "action": set_reg_domain_de},]},
849+
{"name": "Set Domain FR", "action": [
850+
{"name": "Confirm & Reboot", "action": set_reg_domain_fr},]},
851+
{"name": "Set Domain GB", "action": [
852+
{"name": "Confirm & Reboot", "action": set_reg_domain_gb},]},
853+
{"name": "Set Domain NL", "action": [
854+
{"name": "Confirm & Reboot", "action": set_reg_domain_nl},]},
855855
{"name": "Set Domain NO", "action": [
856856
{"name": "Confirm & Reboot", "action": set_reg_domain_no},]},
857857
]},

fpms/modules/reg_domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def show_reg_domain(self, g_vars):
3030
self.alert_obj.display_alert_error(g_vars, 'Failed to get domain or no domain configured')
3131
g_vars['display_state'] = 'menu'
3232
return
33-
output[0] = 'Domain: ' + output[0]
33+
output[0] = 'RF Domain: ' + output[0]
3434
self.paged_table_obj.display_list_as_paged_table(g_vars, output, title="Show Domain")
3535
g_vars['display_state'] = 'page'
3636

0 commit comments

Comments
 (0)