commit c99a08f8b0eb1a356c1ed0f84ea76127079fee53
parent 42c4e20af688179e88ee1b9ff135c7ead37f7b4f
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Tue, 14 Apr 2009 11:18:07 -0700
fix event handler for UrgentTag and NotUrgentTag events
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/config.rb b/config.rb
@@ -100,12 +100,16 @@ EOF
btn.write "#{Color::NORMAL} #{tag}" if btn.exist?
end
- event :UrgentTag do |tag|
+ # Urgent 0x36003d4 Client
+ # UrgentTag Client chat
+ event :UrgentTag do |what, tag|
btn = fs.lbar[tag]
btn.write "*#{tag}" if btn.exist?
end
- event :NotUrgentTag do |tag|
+ # NotUrgent 0x36003d4 Client
+ # NotUrgentTag Client chat
+ event :NotUrgentTag do |what, tag|
btn = fs.lbar[tag]
btn.write tag if btn.exist?
end