WoWInterface SVN Plink

Compare Revisions

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

Rev 4 → Rev 3

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 widgetLists = AceGUIWidgetLSMlists
local sounds = LSM:List("sound")
 
local defaults = {
profile = {
83,12 → 83,16
desc = "The sound played when a spell is reflected.",
type = "select",
dialogControl = "LSM30_Sound",
values = widgetLists.sound,
values = LSM:List("sound"),
get = function()
return Plink.db.profile.sound
for k, v in pairs(sounds) do
if Plink.db.profile.sound == v then
return k
end
end
end,
set = function(_, sound)
Plink.db.profile.sound = sound
Plink.db.profile.sound = sounds[sound]
end
},
},