diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-22 11:33:10 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-22 11:33:10 +0200 | 
| commit | 7eac2cc7fc59423d67995bc012aaf0cbcdc206ff (patch) | |
| tree | eb35ee00a7c9e07c4861710d863945a6ee332c6e /test | |
| parent | f2f954240ac99484c09eca06a35aba2c1c063357 (diff) | |
| download | ffi-efl-7eac2cc7fc59423d67995bc012aaf0cbcdc206ff.zip ffi-efl-7eac2cc7fc59423d67995bc012aaf0cbcdc206ff.tar.gz  | |
test_elementary: fix main window
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_elementary.rb | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test_elementary.rb b/test/test_elementary.rb index 62cc2a1..7e80cf2 100644 --- a/test/test_elementary.rb +++ b/test/test_elementary.rb @@ -162,7 +162,7 @@ class TestWin < Elm::ElmWin      #      def initialize name, title          super FFI::MemoryPointer::NULL, name -        title = title +        self.title = title          feed          smart_callback_add 'delete,request', method(:on_delete)      end @@ -211,10 +211,9 @@ class TestWin < Elm::ElmWin          TESTS.sort.each do |l,m|              icon = nil              if Tests.respond_to? m -                # TODO dosen't work ?????                  icon = Elm::ElmIcon.new self                  icon.file = "#{PACKAGE_DATA_DIR}/images/icon_00.png", nil -                icon.scale = true, true +                icon.size_hint_min = 20,20              end              it = @li.item_append l, nil, icon, method(:try_test), FFI::MemoryPointer.from_string(m.to_s)              it.del_cb_set method(:free_list_item) @@ -256,7 +255,7 @@ class TestWin < Elm::ElmWin  end  #  def elm_main -    win = TestWin.new 'test_elementare', 'Elementary Tests' +    win = TestWin.new 'test_elementary', 'Elementary Tests'      win.evas_object_resize 320, 480      win.show  end  | 
