~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to ext/tk/lib/tk/radiobutton.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
require 'tk'
5
5
require 'tk/button'
6
6
 
7
 
class TkRadioButton<TkButton
 
7
class Tk::RadioButton<TkButton
8
8
  TkCommandNames = ['radiobutton'.freeze].freeze
9
9
  WidgetClassName = 'Radiobutton'.freeze
10
10
  WidgetClassNames[WidgetClassName] = self
63
63
    end
64
64
  end
65
65
end
66
 
TkRadiobutton = TkRadioButton
 
66
 
 
67
Tk::Radiobutton = Tk::RadioButton
 
68
TkRadioButton = Tk::RadioButton unless Object.const_defined? :TkRadioButton
 
69
TkRadiobutton = Tk::Radiobutton unless Object.const_defined? :TkRadiobutton