diff Bar.lua @ 58:20003239af0b

changed "layout editor" to "bar editor"
author Flick <flickerstreak@gmail.com>
date Mon, 28 Apr 2008 21:08:35 +0000
parents 54308b48123c
children 768be7eb22a0
line wrap: on
line diff
--- a/Bar.lua	Fri Apr 25 23:42:33 2008 +0000
+++ b/Bar.lua	Mon Apr 28 21:08:35 2008 +0000
@@ -523,8 +523,8 @@
     end
   end
 
-  local function RefreshLayoutEditor()
-    ReAction:CallModuleMethod("ConfigUI","RefreshLayoutEditor")
+  local function RefreshBarEditor()
+    ReAction:CallModuleMethod("ConfigUI","RefreshBarEditor")
   end
 
   CreateControls = function(bar)
@@ -584,7 +584,7 @@
       StoreSize(bar)
       ClampToButtons(bar)
       ApplyAnchor(bar)
-      RefreshLayoutEditor()
+      RefreshBarEditor()
     end
 
     -- edge drag handles
@@ -751,7 +751,7 @@
         end
 
         StoreExtents(bar)
-        RefreshLayoutEditor()
+        RefreshBarEditor()
         updateDragTooltip()
       end
     )
@@ -823,9 +823,9 @@
       args = {
         openConfig = {
           type = "execute",
-          name = L["Layout..."],
-          desc = L["Open the layout editor for this bar"],
-          func = function() CloseMenu(self.controlFrame); ReAction:CallModuleMethod("ConfigUI","LaunchLayoutEditor",self) end,
+          name = L["Settings..."],
+          desc = L["Open the editor for this bar"],
+          func = function() CloseMenu(self.controlFrame); ReAction:CallModuleMethod("ConfigUI","LaunchBarEditor",self) end,
           disabled = InCombatLockdown,
           order = 1
         },