comparison verbage.lua @ 129:2731702567c4

- Detect loot received in LFR when player isn't eligible (for the strange people out there who are tracking in LFR). - Followup for r116, make sure all entries in display table are properly updated. Add a force-refresh button to the Help tab for the worst case.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Mon, 27 Aug 2012 02:53:42 -0400
parents a9cf9b2fbf9b
children 375059a11c1d
comparison
equal deleted inserted replaced
128:dc39ce56a62d 129:2731702567c4
615 todo = nil 615 todo = nil
616 616
617 617
618 -- Tab 5: Help 618 -- Tab 5: Help
619 do 619 do
620 local mkbutton = addon.gui_state_pointer.mkbutton
621 local gui = addon.gui_state_pointer
620 local AceGUI = LibStub("AceGUI-3.0") 622 local AceGUI = LibStub("AceGUI-3.0")
621 -- widget container status tables (will have things magically appear 623 -- widget container status tables (will have things magically appear
622 -- inside them that we wish to preserve) 624 -- inside them that we wish to preserve)
623 local status_for_scroll = {} 625 local status_for_scroll = {}
624 local status_for_select = { treewidth = 145 } 626 local status_for_select = { treewidth = 145 }
666 left:SetUserData("help restore scroll", true) 668 left:SetUserData("help restore scroll", true)
667 left:SelectByValue(status_for_select.selected) 669 left:SelectByValue(status_for_select.selected)
668 else 670 else
669 left:SelectByValue("basic") 671 left:SelectByValue("basic")
670 end 672 end
673
674 local b = mkbutton("Force Loot Refresh",
675 [[Force the Loot tab display to update from stored data. Shouldn't be needed.]])
676 b:SetFullWidth(true)
677 b:SetCallback("OnClick", function ()
678 addon.loot_clean = nil
679 addon:gui_init()
680 addon:Print[[Loot tab display re-initialized.]]
681 end)
682 specials:AddChild(b)
671 end 683 end
672 684
673 addon:register_tab_control_AT_END ("help", [[Help]], 685 addon:register_tab_control_AT_END ("help", [[Help]],
674 [[Instructions, reminders, and tips for non-obvious features]], 686 [[Instructions, reminders, and tips for non-obvious features]],
675 tabs_OGS, [[ 687 tabs_OGS, [[