diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-12-23 11:42:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-12-23 11:42:31 +0100 |
commit | 0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97 (patch) | |
tree | df688035e3b17a8d5633c5fe5ceb7dfb6dca33e1 /test/tests/test_buttons.rb | |
parent | 28698bffd2b8f3a255ac97f4c0860ae4cbf732b9 (diff) | |
download | ffi-efl-0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97.zip ffi-efl-0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97.tar.gz |
fix tests
Diffstat (limited to 'test/tests/test_buttons.rb')
-rw-r--r-- | test/tests/test_buttons.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests/test_buttons.rb b/test/tests/test_buttons.rb index 9007506..c0e2bb1 100644 --- a/test/tests/test_buttons.rb +++ b/test/tests/test_buttons.rb @@ -27,7 +27,7 @@ module Tests end bt = Efl::Elm::ElmButton.new self bt.text = txt unless txt.nil? - bt.icon = ico if ico + bt.content = ico if ico bt.smart_callback_add "clicked", method(:bt_clicked_cb) bt.smart_callback_add "unpressed", method(:bt_unpressed_cb) @bx.pack_end bt |