summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:20 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:20 +0000
commit4155804448c26efccaaba8161be6ab88b1d677ac (patch)
tree6a3d2bead2dc6cfbe7470799e7393e942bf28b61 /ext/tk/sample
parent9e04d1fbf1ff34d86c14d8383efdcdd2969b08f9 (diff)
ivar name typo in a Tk sample
* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: @Messge => @Message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb
index 841f330..3d8f015 100644
--- a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb
+++ b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb
@@ -389,7 +389,7 @@ def demoOutlookNewsgroup2(t)
t.notify_bind(t, 'Expand-after',
proc{|w, i|
- if @Messge[:read][i] && anyUnreadDescendants(t, i)
+ if @Message[:read][i] && anyUnreadDescendants(t, i)
# read2 -> read
t.item_style_map(i, 'subject', 'read',
['text.unread', 'text.read'])
@@ -405,7 +405,7 @@ def demoOutlookNewsgroup2(t)
t.notify_bind(t, 'Collapse-after',
proc{|w, i|
- if @Messge[:read][i] && anyUnreadDescendants(t, i)
+ if @Message[:read][i] && anyUnreadDescendants(t, i)
# read -> read2
t.item_style_map(i, 'subject', 'read2',
['text.read', 'text.unread'])