comparison Editor.lua @ 194:55af1ebbec65

Remove silly 'close this window when you open the other one' checkboxes
author Flick <flickerstreak@gmail.com>
date Mon, 15 Nov 2010 10:30:19 -0800
parents d58055179c16
children 85213d045acb
comparison
equal deleted inserted replaced
193:576c50e51fc5 194:55af1ebbec65
50 args = { 50 args = {
51 launchConfig = { 51 launchConfig = {
52 type = "execute", 52 type = "execute",
53 name = L["Global Config"], 53 name = L["Global Config"],
54 desc = L["Opens ReAction global configuration settings panel"], 54 desc = L["Opens ReAction global configuration settings panel"],
55 func = function() 55 func = function() ReAction:ShowOptions(); self:Close() end,
56 if ReAction.db.profile.editorCloseOnLaunch then
57 self:Close()
58 end
59 ReAction:ShowOptions()
60 end,
61 order = 1 56 order = 1
62 },
63 closeThis = {
64 type = "toggle",
65 name = L["Close Editor"],
66 desc = L["Close the Bar Editor when opening the ReAction global Interface Options"],
67 get = function() return ReAction.db.profile.editorCloseOnLaunch end,
68 set = function(info, val) ReAction.db.profile.editorCloseOnLaunch = val end,
69 order = 2,
70 }, 57 },
71 hdr = { 58 hdr = {
72 type = "header", 59 type = "header",
73 name = "", 60 name = "",
74 order = 3, 61 order = 2,
75 }, 62 },
76 desc = { 63 desc = {
77 type = "description", 64 type = "description",
78 name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."], 65 name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."],
79 width = "double", 66 width = "double",
80 order = 4, 67 order = 3,
81 }, 68 },
82 _new = { 69 _new = {
83 type = "group", 70 type = "group",
84 name = L["New Bar..."], 71 name = L["New Bar..."],
85 order = 5, 72 order = 4,
86 args = { 73 args = {
87 desc = { 74 desc = {
88 type = "description", 75 type = "description",
89 name = L["Choose a name, type, and initial grid for your new action bar:"], 76 name = L["Choose a name, type, and initial grid for your new action bar:"],
90 order = 1, 77 order = 1,