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/Example | |
parent | d1b6f1d78bdcde363cbcc80c4e589742819a4e24 (diff) | |
download | bugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.gz bugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.xz |
Bug 1209599 - group general preferences by category
Diffstat (limited to 'extensions/Example')
-rw-r--r-- | extensions/Example/Extension.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm index 5b76935e3..4fd2d987f 100644 --- a/extensions/Example/Extension.pm +++ b/extensions/Example/Extension.pm @@ -543,10 +543,11 @@ sub install_before_final_checks { # Add a new user setting like this: # - # add_setting('product_chooser', # setting name - # ['pretty', 'full', 'small'], # options - # 'pretty'); # default - # + # add_setting({ + # name => 'product_chooser', # setting name + # options => ['pretty', 'full', 'small'], # options + # category => 'pretty' # default + # }); # To add descriptions for the setting and choices, add extra values to # the hash defined in global/setting-descs.none.tmpl. Do this in a hook: # hook/global/setting-descs-settings.none.tmpl . |