summaryrefslogtreecommitdiffstats
path: root/test/tests/test_bg.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-21 10:40:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-21 10:40:41 +0200
commit0bc4b0d50369c493d5f994bf463931554ebb3c7f (patch)
treec9aca20aa5541db794341689663b692ee744c5d9 /test/tests/test_bg.rb
parent2481a432611bd9f6c17d2eebdea7951a8fb7a50b (diff)
downloadffi-efl-0bc4b0d50369c493d5f994bf463931554ebb3c7f.zip
ffi-efl-0bc4b0d50369c493d5f994bf463931554ebb3c7f.tar.gz
remove Efl::PREFIX, Efl::PACKAGE_*
Diffstat (limited to 'test/tests/test_bg.rb')
-rw-r--r--test/tests/test_bg.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tests/test_bg.rb b/test/tests/test_bg.rb
index 7f613eb..0591511 100644
--- a/test/tests/test_bg.rb
+++ b/test/tests/test_bg.rb
@@ -23,7 +23,7 @@ module Tests
end
def image_bg
@bg = Elm::ElmBg.new self do |bg|
- bg.file = "#{Efl::PACKAGE_DATA_DIR}/elementary/images/plant_01.jpg", nil
+ bg.file = "#{PACKAGE_DATA_DIR}/images/plant_01.jpg", nil
bg.size_hint_weight_expand
self.resize_object_add bg
bg.show
@@ -37,7 +37,7 @@ module Tests
bx.show
end
@o_bg = Elm::ElmBg.new self do |bg|
- bg.file = "#{Efl::PACKAGE_DATA_DIR}/elementary/images/plant_01.jpg", nil
+ bg.file = "#{PACKAGE_DATA_DIR}/images/plant_01.jpg", nil
bg.size_hint_weight_expand
bg.size_hint_align_fill
@bx.pack_end bg
@@ -115,7 +115,7 @@ module Tests
def cb_overlay_changed data, evas_obj, event_info
if Elm::ElmCheck.new(evas_obj).state
over = @o_bg.parent_widget.evas.edje_object_add
- over.file = File.join(Efl::PACKAGE_DATA_DIR,'elementary/objects/test.edj'), "bg_overlay"
+ over.file = "#{PACKAGE_DATA_DIR}/objects/test.edj", "bg_overlay"
@o_bg.overlay = over
else
@o_bg.overlay = FFI::Pointer::NULL