Directly posting the commit message, since I don't have anything else
to say about the patch:

awful.tooltip docs: replace references to undefined variable 'K' with 'myclock'

Most probably, the original author chose to use 'K' first, switched to
'myclock' later, and forgot to update remaining occurrences of 'K'.

-- 
Anurag Priyam
From bebe1ad4e9ee0b8f72fcb161ef60ce21217c82cd Mon Sep 17 00:00:00 2001
From: Anurag Priyam <[email protected]>
Date: Tue, 10 Jan 2012 15:52:11 +0530
Subject: [PATCH] awful.tooltip docs: replace references to undefined variable
 'K' with 'myclock'

Most probably, the original author chose to use 'K' first, switched to
'myclock' later, and forgot to update remaining occurrences of 'K'.

Signed-off-by: Anurag Priyam <[email protected]>
---
 lib/awful/tooltip.lua.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/awful/tooltip.lua.in b/lib/awful/tooltip.lua.in
index a34b509..92dad35 100644
--- a/lib/awful/tooltip.lua.in
+++ b/lib/awful/tooltip.lua.in
@@ -24,7 +24,7 @@ local ipairs = ipairs
 --  <code>
 --  myclock = awful.widget.textclock({}, "%T", 1)<br/>
 --  myclock_t = awful.tooltip({<br/>
---      objects = { K },<br/>
+--      objects = { myclock },<br/>
 --      timer_function = function()<br/>
 --              return os.date("Today is %A %B %d %Y\nThe time is %T")<br/>
 --          end,<br/>
@@ -36,7 +36,7 @@ local ipairs = ipairs
 --     myclock_t:add_to_object(obj1)<br/>
 --     myclock_t:add_to_object(obj2)<br/>
 -- </code>
--- Now the same tooltip is attached to <code>K</code>, <code>obj1</code>,
+-- Now the same tooltip is attached to <code>myclock</code>, <code>obj1</code>,
 --    <code>obj2</code>.<br/>
 -- </p>
 -- <p>How to remove tooltip from many objects?<br/>
@@ -44,7 +44,7 @@ local ipairs = ipairs
 --     myclock_t:remove_from_object(obj1)<br/>
 --     myclock_t:remove_from_object(obj2)<br/>
 -- </code>
--- Now the same tooltip is only attached to <code>K</code>.<br/>
+-- Now the same tooltip is only attached to <code>myclock</code>.<br/>
 -- </p>
 module("awful.tooltip")
 
-- 
1.7.8.2

Reply via email to