WoWInterface SVN Plink

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

trunk/Plink!/plink.lua
10,7 → 10,7
local timerFrame = CreateFrame("Frame")
local chan = {"RAID", "PARTY", "Self", "None"}
local LSM = LibStub("LibSharedMedia-3.0")
local sounds = LSM:List("sound")
local widgetLists = AceGUIWidgetLSMlists
 
local defaults = {
profile = {
83,16 → 83,12
desc = "The sound played when a spell is reflected.",
type = "select",
dialogControl = "LSM30_Sound",
values = LSM:List("sound"),
values = widgetLists.sound,
get = function()
for k, v in pairs(sounds) do
if Plink.db.profile.sound == v then
return k
end
end
return Plink.db.profile.sound
end,
set = function(_, sound)
Plink.db.profile.sound = sounds[sound]
Plink.db.profile.sound = sound
end
},
},