Skip to content

Commit ba94b8c

Browse files
committed
merge revision(s) 54018: [Backport ruby#11886]
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505] [Bug ruby#11886] The patch provided by Akira Matsuda. * ext/tk/sample/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent fb28e64 commit ba94b8c

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Fri Mar 25 18:32:44 2016 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
2+
3+
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
4+
[Bug #11886] The patch provided by Akira Matsuda.
5+
6+
* ext/tk/sample/*.rb: ditto.
7+
18
Fri Mar 25 18:30:55 2016 Anthony Dmitriyev <antstorm@gmail.com>
29

310
* net/ftp.rb: add NullSocket#closed? to fix closing not opened

ext/tk/lib/tk/menubar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
# 'tearoff'=>false,
7777
# 'foreground'=>'grey40',
7878
# 'activeforeground'=>'red',
79-
# 'font'=>'Helvetia 12 bold')
79+
# 'font'=>'Helvetica 12 bold')
8080
# menubar.pack('side'=>'top', 'fill'=>'x')
8181

8282
# See tk/menuspce.rb about the format of the menu_spec

ext/tk/sample/menubar1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'tearoff'=>false,
4444
'foreground'=>'grey40',
4545
'activeforeground'=>'red',
46-
'font'=>'Helvetia 12 bold')
46+
'font'=>'Helvetica 12 bold')
4747
menubar.pack('side'=>'top', 'fill'=>'x')
4848

4949
TkText.new(:wrap=>'word').pack.insert('1.0', 'Please read the sample source, and check how to override default configure options of menu entries on a menu_spec. Maybe, on windows, this menubar does not work properly about keyboard shortcuts. Then, please use "menu" option of root/toplevel widget (see sample/menubar2.rb).')

ext/tk/sample/menubar2.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
'tearoff'=>'false',
4545
'foreground'=>'grey40',
4646
'activeforeground'=>'red',
47-
'font'=>'Helvetia 12 bold')
47+
'font'=>'Helvetica 12 bold')
4848
# This (default configure options) is NOT same the following.
4949
#
5050
# mbar = Tk.root.add_menubar(menu_spec)
5151
# mbar.configure('foreground'=>'grey40', 'activeforeground'=>'red',
52-
# 'font'=>'Helvetia 12 bold')
52+
# 'font'=>'Helvetica 12 bold')
5353

5454
TkText.new(:wrap=>'word').pack.insert('1.0', 'Please read the sample source, and check how to override default configure options of menu entries on a menu_spec.')
5555

ext/tk/sample/menubar3.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'tearoff'=>false,
6363
'foreground'=>'grey40',
6464
'activeforeground'=>'red',
65-
'font'=>'Helvetia 12 bold')
65+
'font'=>'Helvetica 12 bold')
6666
menubar.pack('side'=>'left', 'fill'=>'y')
6767

6868
TkText.new(:wrap=>'word').pack.insert('1.0', 'This sample script generates "Menu Sidebar".

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.9"
22
#define RUBY_RELEASE_DATE "2016-03-25"
3-
#define RUBY_PATCHLEVEL 475
3+
#define RUBY_PATCHLEVEL 476
44

55
#define RUBY_RELEASE_YEAR 2016
66
#define RUBY_RELEASE_MONTH 3

0 commit comments

Comments
 (0)