Quantcast

Update for UIPanelButtonTemplate2 rename

James Whitehead II [07-08-12 - 10:13]
Update for UIPanelButtonTemplate2 rename
Filename
Clique.xml
FrameOptionsPanel.lua
diff --git a/Clique.xml b/Clique.xml
index 061e120..cde147d 100755
--- a/Clique.xml
+++ b/Clique.xml
@@ -232,7 +232,7 @@
                     </OnHide>
                 </Scripts>
             </Button>
-            <Button name="$parentButtonBinding" parentKey="button_binding" inherits="UIPanelButtonTemplate2">
+            <Button name="$parentButtonBinding" parentKey="button_binding" inherits="UIPanelButtonTemplate">
                 <Size x="160" y="22"/>
                 <Anchors>
                     <Anchor point="TOP" relativeTo="$parentDesc" relativePoint="BOTTOM" x="0" y="0"/>
@@ -419,7 +419,7 @@
                     </Layer>
                 </Layers>
                 <Frames>
-                    <Button name="$parentButtonBinding" parentKey="button_binding" inherits="UIPanelButtonTemplate2">
+                    <Button name="$parentButtonBinding" parentKey="button_binding" inherits="UIPanelButtonTemplate">
                         <Size x="160" y="22"/>
                         <Anchors>
                             <Anchor point="CENTER" relativeTo="$parent" x="0" y="0"/>
diff --git a/FrameOptionsPanel.lua b/FrameOptionsPanel.lua
index 1c37150..7d5d7f2 100644
--- a/FrameOptionsPanel.lua
+++ b/FrameOptionsPanel.lua
@@ -89,7 +89,7 @@ function panel:CreateOptions()
         FauxScrollFrame_OnVerticalScroll(frame, offset, self.rowheight, update)
     end)

-    self.selectall = CreateFrame("Button", "CliqueOptionsBlacklistSelectAll", self, "UIPanelButtonTemplate2")
+    self.selectall = CreateFrame("Button", "CliqueOptionsBlacklistSelectAll", self, "UIPanelButtonTemplate")
     self.selectall:SetText(L["Select All"])
     self.selectall:SetPoint("BOTTOMLEFT", 10, 10)
     self.selectall:SetWidth(100)
@@ -108,7 +108,7 @@ function panel:CreateOptions()
         self:UpdateScrollFrame()
     end)

-    self.selectnone = CreateFrame("Button", "CliqueOptionsBlacklistSelectNone", self, "UIPanelButtonTemplate2")
+    self.selectnone = CreateFrame("Button", "CliqueOptionsBlacklistSelectNone", self, "UIPanelButtonTemplate")
     self.selectnone:SetText(L["Select None"])
     self.selectnone:SetPoint("BOTTOMLEFT", self.selectall, "BOTTOMRIGHT", 5, 0)
     self.selectnone:SetWidth(100)