Quantcast

* Updated to use Dongle-Beta1

James Whitehead II [03-18-07 - 03:50]
* Updated to use Dongle-Beta1
Filename
Clique.lua
CliqueOptions.lua
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