diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-29 08:05:30 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-29 08:05:30 +0000 |
commit | 7544bfc130b6d75fd77defff3f47fd06e2ebf9bd (patch) | |
tree | afab7bccab385e1c51a7ef3133a831fca0d97561 /ext/tk/lib/tkdialog.rb | |
parent | 37b2487c7097aa72775f0f3f17f058cfc820dabd (diff) |
* bug fix ( tested with Ruby/Tk widget demo )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkdialog.rb')
-rw-r--r-- | ext/tk/lib/tkdialog.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/lib/tkdialog.rb b/ext/tk/lib/tkdialog.rb index 2c280d5618..b15b79421b 100644 --- a/ext/tk/lib/tkdialog.rb +++ b/ext/tk/lib/tkdialog.rb @@ -74,6 +74,7 @@ class TkDialog2 < TkWindow @title = keys['title'] if keys.key? 'title' @message = keys['message'] if keys.key? 'message' @bitmap = keys['bitmap'] if keys.key? 'bitmap' + @bitmap = '{}' if @bitmap == nil || @bitmap == "" @default_button = keys['default'] if keys.key? 'default' @buttons = keys['buttons'] if keys.key? 'buttons' |