Thread Tools Display Modes
12-13-06, 10:28 AM   #1
Devla
A Cobalt Mageweaver
 
Devla's Avatar
AddOn Compiler - Click to view compilations
Join Date: Mar 2005
Posts: 206
Bongos fix for BC 2.0.3

Fix for Bongos:

Change line 40 of \Bongos_ActionBar\core\button.lua:

from:
CreateFrame("Model", name .. "Cooldown", button, "CooldownFrameTemplate")
to:
CreateFrame("Cooldown", name .. "Cooldown", button, "CooldownFrameTemplate")
Tested and works

For the lazy, see attached file

Enjoy
Attached Files
File Type: zip button.zip (1.1 KB, 748 views)
__________________
RETIRED Author
  Reply With Quote
12-13-06, 11:32 AM   #2
Mazzlefizz
A Pyroguard Emberseer
 
Mazzlefizz's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 3,521
Thanks for the tip, Devla

EDIT: Is this for BC servers only?
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com
Info, FAQs, Forums, Download can be found at that link.

Last edited by Mazzlefizz : 12-13-06 at 11:55 AM.
  Reply With Quote
12-13-06, 12:42 PM   #3
Devla
A Cobalt Mageweaver
 
Devla's Avatar
AddOn Compiler - Click to view compilations
Join Date: Mar 2005
Posts: 206
For BC/Live dual compatibility, I replaced line 40 with the following:

Code:
        local oldandbusted = _G.GetBuildInfo() == '2.0.1'
            if oldandbusted then
                CreateFrame("Model", name .. "Cooldown", button, "CooldownFrameTemplate")
                    else
                CreateFrame("Cooldown", name .. "Cooldown", button, "CooldownFrameTemplate")
            end
__________________
RETIRED Author
  Reply With Quote
12-13-06, 12:58 PM   #4
Tuller
A Warpwood Thunder Caller
 
Tuller's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 91
Code:
		
if GetBuildInfo() == '2.0.1' then
	CreateFrame("Model", name .. "Cooldown", button, "CooldownFrameTemplate")
else
	CreateFrame("Cooldown", name .. "Cooldown", button, "CooldownFrameTemplate")
end
My fix is awesomer :P
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Bongos fix for BC 2.0.3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off