diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-30 14:53:52 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-30 14:53:52 +0000 |
| commit | 77aef33f673b30c04500ec2f1643f2ab5688cf31 (patch) | |
| tree | 35cc3eaee6606771380cd934689d99ea2e8c3249 /ext/tk/lib/tkextlib/tcllib | |
| parent | 912754e3108c59c1d57cdc3746a34d2d82d62d6c (diff) | |
| download | ruby-77aef33f673b30c04500ec2f1643f2ab5688cf31.tar.gz ruby-77aef33f673b30c04500ec2f1643f2ab5688cf31.tar.xz ruby-77aef33f673b30c04500ec2f1643f2ab5688cf31.zip | |
* ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/winpkg.rb: ditto.
* ext/tk/lib/tkextlib/*: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/tcllib')
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/autoscroll.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/ctext.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/cursor.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/datefield.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/ico.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/ip_entry.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/plotchart.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/style.rb | 5 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tcllib/tkpiechart.rb | 5 |
9 files changed, 45 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb index 256b01ba8..f2c898458 100644 --- a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb +++ b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb @@ -31,6 +31,11 @@ require 'tkextlib/tcllib.rb' module Tk module Tcllib module Autoscroll + PACKAGE_NAME = 'autoscroll'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('autoscroll') diff --git a/ext/tk/lib/tkextlib/tcllib/ctext.rb b/ext/tk/lib/tkextlib/tcllib/ctext.rb index 342b268c7..aa2ef2036 100644 --- a/ext/tk/lib/tkextlib/tcllib/ctext.rb +++ b/ext/tk/lib/tkextlib/tcllib/ctext.rb @@ -16,6 +16,11 @@ TkPackage.require('ctext') module Tk module Tcllib class CText < TkText + PACKAGE_NAME = 'ctext'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ctext') diff --git a/ext/tk/lib/tkextlib/tcllib/cursor.rb b/ext/tk/lib/tkextlib/tcllib/cursor.rb index 86a68497b..9bb828e8d 100644 --- a/ext/tk/lib/tkextlib/tcllib/cursor.rb +++ b/ext/tk/lib/tkextlib/tcllib/cursor.rb @@ -12,6 +12,11 @@ require 'tkextlib/tcllib.rb' module Tk module Tcllib module Cursor + PACKAGE_NAME = 'cursor'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('cursor') diff --git a/ext/tk/lib/tkextlib/tcllib/datefield.rb b/ext/tk/lib/tkextlib/tcllib/datefield.rb index fb11da200..bd8448810 100644 --- a/ext/tk/lib/tkextlib/tcllib/datefield.rb +++ b/ext/tk/lib/tkextlib/tcllib/datefield.rb @@ -25,6 +25,11 @@ TkPackage.require('datefield') module Tk module Tcllib class Datefield < TkEntry + PACKAGE_NAME = 'datefield'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('datefield') diff --git a/ext/tk/lib/tkextlib/tcllib/ico.rb b/ext/tk/lib/tkextlib/tcllib/ico.rb index c87275126..3beeb11a4 100644 --- a/ext/tk/lib/tkextlib/tcllib/ico.rb +++ b/ext/tk/lib/tkextlib/tcllib/ico.rb @@ -16,6 +16,11 @@ TkPackage.require('ico') module Tk module Tcllib class ICO < TkImage + PACKAGE_NAME = 'ico'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ico') diff --git a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb index a71aaf879..e24d1ba14 100644 --- a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb +++ b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb @@ -19,6 +19,11 @@ TkPackage.require('ipentry') module Tk module Tcllib class IP_Entry < TkEntry + PACKAGE_NAME = 'ipentry'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ipentry') diff --git a/ext/tk/lib/tkextlib/tcllib/plotchart.rb b/ext/tk/lib/tkextlib/tcllib/plotchart.rb index 5603ce128..a8d2be00a 100644 --- a/ext/tk/lib/tkextlib/tcllib/plotchart.rb +++ b/ext/tk/lib/tkextlib/tcllib/plotchart.rb @@ -66,6 +66,11 @@ TkPackage.require('Plotchart') module Tk module Tcllib module Plotchart + PACKAGE_NAME = 'Plotchart'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Plotchart') diff --git a/ext/tk/lib/tkextlib/tcllib/style.rb b/ext/tk/lib/tkextlib/tcllib/style.rb index 72a99d80f..33d103a45 100644 --- a/ext/tk/lib/tkextlib/tcllib/style.rb +++ b/ext/tk/lib/tkextlib/tcllib/style.rb @@ -11,6 +11,11 @@ require 'tkextlib/tcllib.rb' module Tk::Tcllib module Style + PACKAGE_NAME = 'style'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('style') diff --git a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb index 4e6008bb3..5fb89dd73 100644 --- a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb +++ b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb @@ -21,6 +21,11 @@ module Tk end module Tk::Tcllib::Tkpiechart + PACKAGE_NAME = 'tkpiechart'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('tkpiechart') |
