Mercurial > wow > ouroloot
diff gui.lua @ 17:d929c40cdb09
Small boosts, better version display. Do not wedge when receiving initial boss broadcast of a wipe while outside a raid instance.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Thu, 25 Aug 2011 08:50:33 +0000 |
parents | 5ee4edd24c13 |
children | f560cf82e7d3 |
line wrap: on
line diff
--- a/gui.lua Thu Aug 25 00:45:31 2011 +0000 +++ b/gui.lua Thu Aug 25 08:50:33 2011 +0000 @@ -44,6 +44,7 @@ local g_loot = nil local g_generated = nil +local window_title = "Ouro Loot" local pairs, ipairs, tinsert, tremove, tonumber = pairs, ipairs, table.insert, table.remove, tonumber @@ -361,6 +362,7 @@ g_loot = loot_pointer g_generated = nil tabgroup_tabs = {} + window_title = "Ouro Loot " .. self.revision for _,v in ipairs(_taborder) do tinsert (tabgroup_tabs, {value=v, text=_tabtexts[v].title}) -- By default, tabs are editboxes with generated text @@ -1732,7 +1734,7 @@ end _d = display self.display = display - display:SetTitle("Ouro Loot") + display:SetTitle(window_title) display:SetStatusText(self.status_text) display:SetLayout("Flow") display:SetStatusTable{width=900,height=550} -- default height is 500