<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -224,8 +224,8 @@ local Power_Update = function(self, event, unit, bar, current, max)
 
 	val:SetText(current)
 
-	if unit ~= &quot;pet&quot; and UnitClass(&quot;player&quot;) ~= &quot;hunter&quot; then
-		local col = colors.mp[UnitPowerType(unit)] or {1, 1, 1}
+	if (unit == &quot;pet&quot; and not GetPetHappiness()) or unit ~= &quot;pet&quot; then
+		local col = colors.mp[UnitPowerType(unit)] or { 1, 1, 1 }
 		self.Power:SetStatusBarColor(unpack(col))
 		self.Power.bg:SetVertexColor(unpack(col))
 	end
@@ -510,6 +510,8 @@ local frame = function(settings, self, unit)
 	name:SetTextColor(1,1,1,1)
 
 	self.Name = name
+	self.UNIT_LEVEL = Name_Update
+	self:RegisterEvent(&quot;UNIT_LEVEL&quot;)
 	self.OverideUpdateName = Name_Update
 
 	local ricon = self:CreateTexture(nil, &quot;OVERLAY&quot;)</diff>
      <filename>core.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,8 @@
 ## Interface: 30100
 ## Title: oUF_Kanne2
 ## Notes: OH HI
-## Dependencies: oUF, oUF_LibHeal
+## Dependencies: oUF
+## OptDependencies: oUF_LibHeal
 ## Version: 1
 ## X-Credits: Lyn (This is his layout)
 </diff>
      <filename>oUF_Kanne2.toc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d330db62af1743403e001afefce30ccc4c4850b4</id>
    </parent>
  </parents>
  <author>
    <name>=</name>
    <email>c.bannister@gmail.com</email>
  </author>
  <url>http://github.com/Zariel/ouf_kanne2/commit/3baa4d511416bb58373d0272544e0eb9e175f118</url>
  <id>3baa4d511416bb58373d0272544e0eb9e175f118</id>
  <committed-date>2009-08-08T11:03:52-07:00</committed-date>
  <authored-date>2009-08-08T11:03:52-07:00</authored-date>
  <message>Fix name update</message>
  <tree>faa92ac18663ae24a4720ec0bd489f36c2841e24</tree>
  <committer>
    <name>=</name>
    <email>c.bannister@gmail.com</email>
  </committer>
</commit>
