summaryrefslogtreecommitdiff
path: root/ext/tk/sample/demos-en/menu.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/demos-en/menu.rb')
-rw-r--r--ext/tk/sample/demos-en/menu.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/demos-en/menu.rb b/ext/tk/sample/demos-en/menu.rb
index 8b7a524bc6..db0541c608 100644
--- a/ext/tk/sample/demos-en/menu.rb
+++ b/ext/tk/sample/demos-en/menu.rb
@@ -88,7 +88,7 @@ TkMenubutton.new($menu_frame, 'text'=>'Basic', 'underline'=>0) {|m|
add('command', 'label'=>'Long entry that does nothing')
['A','B','C','D','E','F','G'].each{|c|
add('command', 'label'=>"Print letter \"#{c}\"",
- 'underline'=>14, 'accelerator'=>"Meta+#{c}",
+ 'underline'=>14,
'command'=>proc{print c,"\n"}, 'accelerator'=>"#{modifier}+#{c}")
$menu_demo.bind("#{modifier}-#{c.downcase}", proc{print c,"\n"})
}