Mercurial > wow > reaction
comparison Editor.lua @ 195:85213d045acb
Fix editor panel title
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Mon, 15 Nov 2010 11:01:42 -0800 |
| parents | 55af1ebbec65 |
| children | 376c424900f0 |
comparison
equal
deleted
inserted
replaced
| 194:55af1ebbec65 | 195:85213d045acb |
|---|---|
| 39 frame:SetScript("OnHide", | 39 frame:SetScript("OnHide", |
| 40 function(...) | 40 function(...) |
| 41 ReAction:SetConfigMode(false) | 41 ReAction:SetConfigMode(false) |
| 42 end) | 42 end) |
| 43 | 43 |
| 44 self.title = ("%s - %s"):format(L["ReAction"],L["Bar Editor"]) | |
| 45 self.gui:SetTitle(self.title) | |
| 46 | |
| 44 self.options = { | 47 self.options = { |
| 45 type = "group", | 48 type = "group", |
| 46 name = L["Select Bar:"], | 49 name = self.title, |
| 47 desc = "foo foo foo", | |
| 48 handler = self, | 50 handler = self, |
| 49 childGroups = "select", | 51 childGroups = "select", |
| 50 args = { | 52 args = { |
| 51 launchConfig = { | 53 launchConfig = { |
| 52 type = "execute", | 54 type = "execute", |
| 53 name = L["Global Config"], | 55 name = L["Global Config"], |
| 54 desc = L["Opens ReAction global configuration settings panel"], | 56 desc = L["Opens ReAction global configuration settings panel"], |
| 55 func = function() ReAction:ShowOptions(); self:Close() end, | 57 func = function() ReAction:ShowOptions(); self:Close() end, |
| 56 order = 1 | 58 order = 1 |
| 57 }, | 59 }, |
| 58 hdr = { | |
| 59 type = "header", | |
| 60 name = "", | |
| 61 order = 2, | |
| 62 }, | |
| 63 desc = { | 60 desc = { |
| 64 type = "description", | 61 type = "description", |
| 65 name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."], | 62 name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."], |
| 66 width = "double", | 63 order = 2, |
| 64 }, | |
| 65 hdr = { | |
| 66 type = "header", | |
| 67 name = L["Select Bar"], | |
| 67 order = 3, | 68 order = 3, |
| 68 }, | 69 }, |
| 69 _new = { | 70 _new = { |
| 70 type = "group", | 71 type = "group", |
| 71 name = L["New Bar..."], | 72 name = L["New Bar..."], |
| 153 min = 0, | 154 min = 0, |
| 154 max = 24, | 155 max = 24, |
| 155 step = 1, | 156 step = 1, |
| 156 order = 5, | 157 order = 5, |
| 157 } | 158 } |
| 158 }, | 159 } |
| 159 }, | 160 } |
| 160 } | 161 } |
| 161 } | 162 } |
| 162 }, | 163 } |
| 163 } | 164 } |
| 164 | |
| 165 self.title = ("%s - %s"):format(L["ReAction"],L["Bar Editor"]) | |
| 166 self.gui:SetTitle(self.title) | |
| 167 | 165 |
| 168 self.gui:SetCallback("OnClose", | 166 self.gui:SetCallback("OnClose", |
| 169 function() | 167 function() |
| 170 ReAction:SetConfigMode(false) | 168 ReAction:SetConfigMode(false) |
| 171 end ) | 169 end ) |
