[前][次][番号順一覧][スレッド一覧]

ruby-changes:42291

From: naruse <ko1@a...>
Date: Tue, 29 Mar 2016 15:04:31 +0900 (JST)
Subject: [ruby-changes:42291] naruse:r54365 (ruby_2_3): merge revision(s) 54018: [Backport #11886]

naruse	2016-03-29 15:04:26 +0900 (Tue, 29 Mar 2016)

  New Revision: 54365

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54365

  Log:
    merge revision(s) 54018: [Backport #11886]
    
    * ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
      [Bug #11886] The patch provided by Akira Matsuda.
    
    * ext/tk/sample/*.rb: ditto.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/ext/tk/lib/tk/menubar.rb
    branches/ruby_2_3/ext/tk/sample/menubar1.rb
    branches/ruby_2_3/ext/tk/sample/menubar2.rb
    branches/ruby_2_3/ext/tk/sample/menubar3.rb
    branches/ruby_2_3/version.h
Index: ruby_2_3/ext/tk/lib/tk/menubar.rb
===================================================================
--- ruby_2_3/ext/tk/lib/tk/menubar.rb	(revision 54364)
+++ ruby_2_3/ext/tk/lib/tk/menubar.rb	(revision 54365)
@@ -77,7 +77,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ext/tk/lib/tk/menubar.rb#L77
 #                        'tearoff'=>false,
 #                        'foreground'=>'grey40',
 #                        'activeforeground'=>'red',
-#                        'font'=>'Helvetia 12 bold')
+#                        'font'=>'Helvetica 12 bold')
 # menubar.pack('side'=>'top', 'fill'=>'x')
 
 # See tk/menuspce.rb about the format of the menu_spec
Index: ruby_2_3/ext/tk/sample/menubar1.rb
===================================================================
--- ruby_2_3/ext/tk/sample/menubar1.rb	(revision 54364)
+++ ruby_2_3/ext/tk/sample/menubar1.rb	(revision 54365)
@@ -44,7 +44,7 @@ menubar = TkMenubar.new(nil, menu_spec, https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ext/tk/sample/menubar1.rb#L44
                        'tearoff'=>false,
                        'foreground'=>'grey40',
                        'activeforeground'=>'red',
-                       'font'=>'Helvetia 12 bold')
+                       'font'=>'Helvetica 12 bold')
 menubar.pack('side'=>'top', 'fill'=>'x')
 
 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).')
Index: ruby_2_3/ext/tk/sample/menubar3.rb
===================================================================
--- ruby_2_3/ext/tk/sample/menubar3.rb	(revision 54364)
+++ ruby_2_3/ext/tk/sample/menubar3.rb	(revision 54365)
@@ -63,7 +63,7 @@ menubar = TkMenubar.new(nil, menu_spec, https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ext/tk/sample/menubar3.rb#L63
                         'tearoff'=>false,
                         'foreground'=>'grey40',
                         'activeforeground'=>'red',
-                        'font'=>'Helvetia 12 bold')
+                        'font'=>'Helvetica 12 bold')
 menubar.pack('side'=>'left', 'fill'=>'y')
 
 TkText.new(:wrap=>'word').pack.insert('1.0', 'This sample script generates "Menu Sidebar".
Index: ruby_2_3/ext/tk/sample/menubar2.rb
===================================================================
--- ruby_2_3/ext/tk/sample/menubar2.rb	(revision 54364)
+++ ruby_2_3/ext/tk/sample/menubar2.rb	(revision 54365)
@@ -45,12 +45,12 @@ mbar = Tk.root.add_menubar(menu_spec, https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ext/tk/sample/menubar2.rb#L45
                            'tearoff'=>'false',
                            'foreground'=>'grey40',
                            'activeforeground'=>'red',
-                           'font'=>'Helvetia 12 bold')
+                           'font'=>'Helvetica 12 bold')
 # This (default configure options) is NOT same the following.
 #
 #  mbar = Tk.root.add_menubar(menu_spec)
 #  mbar.configure('foreground'=>'grey40', 'activeforeground'=>'red',
-#                 'font'=>'Helvetia 12 bold')
+#                 'font'=>'Helvetica 12 bold')
 
 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.')
 
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 54364)
+++ ruby_2_3/ChangeLog	(revision 54365)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Mar 29 15:04:19 2016  CHIKANAGA Tomoyuki  <nagachika@r...>
+
+	* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
+	  [Bug #11886] The patch provided by Akira Matsuda.
+
+	* ext/tk/sample/*.rb: ditto.
+
 Tue Mar 29 15:03:03 2016  Kenta Murata  <mrkn@m...>
 
 	* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 54364)
+++ ruby_2_3/version.h	(revision 54365)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.0"
 #define RUBY_RELEASE_DATE "2016-03-29"
-#define RUBY_PATCHLEVEL 22
+#define RUBY_PATCHLEVEL 23
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r54018


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]