From 443c8c50053633b3ce15f85048384d29cab3b880 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sun, 18 Mar 2007 03:50:01 +0000 Subject: [PATCH] * Updated to use Dongle-Beta1 --- Clique.lua | 8 +++----- CliqueOptions.lua | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Clique.lua b/Clique.lua index 13086e2..a5cea57 100644 --- a/Clique.lua +++ b/Clique.lua @@ -5,12 +5,10 @@ Clique = {Locals = {}} assert(DongleStub, string.format("Clique requires DongleStub.")) -assert(DongleStub:GetVersion() == "DongleStub-Beta0", - string.format("Clique requires DongleStub-Beta0. You are using an older version.")) -assert(DongleStub("Dongle-Beta0"), - string.format("Clique requires Dongle-Beta0. You are using an older version.")) +assert(DongleStub("Dongle-Beta1"), + string.format("Clique requires Dongle-Beta1. You are using an older version.")) -DongleStub("Dongle-Beta0"):New("Clique", Clique) +DongleStub("Dongle-Beta1"):New("Clique", Clique) local L = Clique.Locals diff --git a/CliqueOptions.lua b/CliqueOptions.lua index 561b9fa..9ef3786 100644 --- a/CliqueOptions.lua +++ b/CliqueOptions.lua @@ -1598,7 +1598,7 @@ function Clique:TextListScrollUpdate() if self.textlist == "PROFILES" then for k,v in pairs(self.db.profiles) do table.insert(work, k) end table.sort(work) - CliqueTextListFrame.title:SetText("Profile: " .. self.db.profileKey) + CliqueTextListFrame.title:SetText("Profile: " .. self.db.keys.profile) elseif self.textlist == "FRAMES" then for k,v in pairs(self.ccframes) do @@ -1637,7 +1637,7 @@ function Clique:TextListScrollUpdate() end if self.textlistSelected == nil and self.textlist == "PROFILES" then - if work[idx] == self.db.profileKey then + if work[idx] == self.db.keys.profile then button:SetChecked(true) CliqueButtonSetProfile:Disable() CliqueButtonDeleteProfile:Disable() @@ -1645,7 +1645,7 @@ function Clique:TextListScrollUpdate() button:SetChecked(nil) end elseif idx == self.textlistSelected and self.textlist == "PROFILES" then - if work[idx] == self.db.profileKey then + if work[idx] == self.db.keys.profile then CliqueButtonSetProfile:Disable() CliqueButtonDeleteProfile:Disable() else -- 1.7.9.5