* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7818f988b9
commit
70f8c054b2
@ -1,3 +1,7 @@
|
|||||||
|
Mon Sep 6 10:57:40 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
|
* ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct method
|
||||||
|
|
||||||
Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (cvar_cbase): singletons should refer outer cvar scope.
|
* eval.c (cvar_cbase): singletons should refer outer cvar scope.
|
||||||
|
@ -445,7 +445,7 @@ class TkOptionMenubutton<TkMenubutton
|
|||||||
@menu.invoke(index)
|
@menu.invoke(index)
|
||||||
end
|
end
|
||||||
def insert(index, value)
|
def insert(index, value)
|
||||||
@menu.add(index, 'radiobutton', 'variable'=>@variable,
|
@menu.insert(index, 'radiobutton', 'variable'=>@variable,
|
||||||
'label'=>value, 'value'=>value)
|
'label'=>value, 'value'=>value)
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user