- changed 'this' to 'self' in several places (for 4.0 compatibility)

- bumped toc to 30300 though i suppose that's silly if tuesday winds up to be patch day
- added libqtip to optionaldeps so it gets loaded properly

git-svn-id: https://repos.wowace.com/wow/repairbroker/trunk@42 25fea357-c8a7-4792-97eb-cca2a7ef4644
This commit is contained in:
parnic
2010-10-10 03:52:19 +00:00
parent a3ded5e761
commit 2e4d732969
4 changed files with 9 additions and 9 deletions

View File

@ -437,7 +437,7 @@ Repair.PopupTooltip = function(self)
else
total = GetGuildBankWithdrawMoney()
end
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT")
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT")
GameTooltip:AddDoubleLine("", "|c00000000|")
GameTooltip:AddDoubleLine("|c00000000|", CopperToString(total))
GameTooltip:AddDoubleLine("|cFFFFFFFF - ", CopperToString(cost))

View File

@ -1,9 +1,9 @@
## Interface: 30100
## Interface: 30300
## Title: Repair Broker
## Notes: Auto repair + shows durability.
## Author: Merl @ chainwet.net
## Author: Merl @ chainwet.net, continued by Parnic @ parnic.com
## Version: @project-version@
## OptionalDeps: Ace3
## OptionalDeps: Ace3, LibQTip-1.0
## DefaultState: enabled
## SavedVariables: RepairBrokerDB

View File

@ -79,7 +79,7 @@
RepairBroker_Popup:Hide()
</OnClick>
<OnEnter>
RepairBroker.PopupTooltip(this)
RepairBroker.PopupTooltip(self)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
@ -98,9 +98,9 @@
<Scripts>
<OnShow>
if CanGuildBankRepair() then
this:Enable()
self:Enable()
else
this:Disable()
self:Disable()
end
</OnShow>
<OnClick>
@ -108,7 +108,7 @@
RepairBroker_Popup:Hide()
</OnClick>
<OnEnter>
RepairBroker.PopupTooltip(this)
RepairBroker.PopupTooltip(self)
</OnEnter>
<OnLeave>
GameTooltip:Hide()

View File

@ -3,7 +3,7 @@
<GameTooltip name="RepairBrokerScanner" inherits="GameTooltipTemplate">
<Scripts>
<Onload>
this:SetOwner(WorldFrame, "ANCHOR_NONE");
self:SetOwner(WorldFrame, "ANCHOR_NONE");
</Onload>
</Scripts>
</GameTooltip>