Mercurial > wow > ouroloot
comparison gui.lua @ 67:c01875b275ca
Do not use UnitName on other people during RAID_ROSTER_UPDATE, as they may be a weed (thank you Calvieri for unknowingly eating a lifegiving seed and exposing this bug). Be more informative to the user about errors during load. Do not try to run other files if a load-time error happens, as it only generates cascading noise.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Tue, 08 May 2012 02:41:23 +0000 |
parents | 69fd720f853e |
children | 8442272a8418 |
comparison
equal
deleted
inserted
replaced
66:43913e02a1ef | 67:c01875b275ca |
---|---|
1 local addon = select(2,...) | 1 local addon = select(2,...) |
2 if addon.NOLOAD then return end | |
2 | 3 |
3 --[[ | 4 --[[ |
4 Purely the AceGUI-related routines, and the subroutines needed for support. | 5 Purely the AceGUI-related routines, and the subroutines needed for support. |
5 ------ Constants | 6 ------ Constants |
6 ------ Globals | 7 ------ Globals |
1958 function addon:BuildMainDisplay (opt_tabselect) | 1959 function addon:BuildMainDisplay (opt_tabselect) |
1959 if self.display then | 1960 if self.display then |
1960 -- try to get everything to update, rebuild, refresh... ugh, no | 1961 -- try to get everything to update, rebuild, refresh... ugh, no |
1961 self.display:Hide() | 1962 self.display:Hide() |
1962 end | 1963 end |
1964 if self.NOLOAD then return end -- don't even try | |
1963 | 1965 |
1964 -- This probably causes taint... hm. | 1966 -- This probably causes taint... hm. |
1965 local prev_fade_time = UIDROPDOWNMENU_SHOW_TIME | 1967 local prev_fade_time = UIDROPDOWNMENU_SHOW_TIME |
1966 UIDROPDOWNMENU_SHOW_TIME = 4 | 1968 UIDROPDOWNMENU_SHOW_TIME = 4 |
1967 | 1969 |