diff options
author | David Lawrence <dkl@mozilla.com> | 2015-10-21 05:00:37 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-10-21 05:00:37 +0200 |
commit | c8cf2b58bae632b6801337971323d37cf9f5a0f0 (patch) | |
tree | 9825f8b4c9ace9343678595c3a6cbe14ce9bb6e9 /extensions/OrangeFactor | |
parent | d1b6f1d78bdcde363cbcc80c4e589742819a4e24 (diff) | |
download | bugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.gz bugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.xz |
Bug 1209599 - group general preferences by category
Diffstat (limited to 'extensions/OrangeFactor')
-rw-r--r-- | extensions/OrangeFactor/Extension.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extensions/OrangeFactor/Extension.pm b/extensions/OrangeFactor/Extension.pm index af629e323..14d500ba0 100644 --- a/extensions/OrangeFactor/Extension.pm +++ b/extensions/OrangeFactor/Extension.pm @@ -37,7 +37,12 @@ sub template_before_process { sub install_before_final_checks { my ($self, $args) = @_; - add_setting('orange_factor', ['on', 'off'], 'off'); + add_setting({ + name => 'orange_factor', + options => ['on', 'off'], + default => 'off', + category => 'User Interface' + }); } __PACKAGE__->NAME; |