Mercurial > wow > ouroloot
diff options.lua @ 122:fb4bda3ad05c
Various trivial cleanups.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 17 Aug 2012 01:04:38 -0400 |
parents | 4dd67f8116f4 |
children | ccca3d8d2b22 |
line wrap: on
line diff
--- a/options.lua Fri Aug 17 00:34:05 2012 -0400 +++ b/options.lua Fri Aug 17 01:04:38 2012 -0400 @@ -206,21 +206,10 @@ pair:SetRelativeWidth(0.49) pair:SetTitle('Keybinding for "/ouroloot toggle"') local checkbox, button - --[=[ - editbox = mkbutton("EditBox", nil, opts.keybinding_text, - [[Keybinding text format is fragile! (All caps, ALT then CTRL then SHIFT.) Relog to take effect.]]) - editbox:SetFullWidth(true) - editbox:SetLabel("Keybinding text") - editbox:SetCallback("OnEnterPressed", function(_w,event,value) - opts.keybinding_text = value - end) - editbox:SetDisabled(not opts.keybinding) - ]=] checkbox = mktoggle('keybinding', "Register keybinding", 1, [[Whether to register a keybinding to toggle the loot display. Relog to take effect.]], function (_w,_,value) opts.keybinding = value - --editbox:SetDisabled(not opts.keybinding) button:SetDisabled(not opts.keybinding) end) checkbox:SetFullWidth(true) @@ -249,7 +238,7 @@ end end end) - pair:AddChildren (checkbox, button)--, editbox) + pair:AddChildren (checkbox, button) container:AddChild(pair) end @@ -462,7 +451,6 @@ --addon:Print("No longer filtering out", ilink) addon:Print("No longer filtering out", val_name) end) - --w:SetCallback("OnDropdownShown",do_warning) w:SetCallback("OnDropdownShown", function() do_warning(container) end)