diff gui.lua @ 92:01cfbfa96dd6

Last bits of cleanup and testing.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 17 Jul 2012 03:24:36 +0000
parents 2ef80188a547
children ea20a28327b5
line wrap: on
line diff
--- a/gui.lua	Mon Jul 02 23:49:11 2012 +0000
+++ b/gui.lua	Tue Jul 17 03:24:36 2012 +0000
@@ -1219,7 +1219,7 @@
 		icon:Show()
 		cellFrame.text:SetPoint("LEFT", icon, "RIGHT", 1, 0)
 		local color = addon.class_colors[e.person_class]
-		cellFrame.text:SetTextColor(color.r,color.g,color.b,1)
+		cellFrame.text:SetTextColor(color.r,color.g,color.b,color.a)
 	else
 		if cellFrame.icontexture then
 			cellFrame.icontexture:Hide()
@@ -1418,9 +1418,9 @@
 <Right>-click any row to display a dropdown menu.  The menu is different for
 the Player column than it is for the Item/Notes columns, and different for
 loot entries than it is for other rows.]]
-tabs_CLI_special["eoi"] = function (name)
-	-- try and scroll to a specific boss/player
-end
+--tabs_CLI_special["eoi"] = function (name)
+--	-- try and scroll to a specific boss/player?
+--end
 
 
 -- Tab 2/3 (generated text)
@@ -1515,7 +1515,8 @@
 				h.itemlink, addon:colorize(h.OLwho,h.OLclass))
 			if numleft < 1 then
 				history_filter_who = nil
-				_d:GetUserData("histST"):SetFilter(history_filter_by_recent)
+				--_d:GetUserData("histST"):SetFilter(history_filter_by_recent)
+				histST:SetFilter(history_filter_by_recent)
 				setstatus(hist_normal_status)
 			end
 		else
@@ -2503,7 +2504,10 @@
 		-- try to get everything to update, rebuild, refresh... ugh, no
 		self.display:Hide()
 	end
-	if self.NOLOAD then return end   -- don't even try
+	if self.NOLOAD then
+		-- don't even try
+		return
+	end
 
 	-- This probably causes taint... hm.
 	local prev_fade_time = UIDROPDOWNMENU_SHOW_TIME
@@ -2938,7 +2942,7 @@
 	-- second click
 	if data.name and text then
 		data.instance = text
-		-- not "resuing" this dialog in the same sense as with loot
+		-- not "reusing" this dialog in the same sense as with loot
 		dialog.data = nil
 		dialog:Hide()
 		local getsnap = StaticPopup_Show("OUROL_EOI_INSERT_INCLUDE_RAIDERSNAP")