From ed739fcb3e6ca232b0a0a2b2e961c5c4c31eeddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 23 Dec 2011 11:28:56 +0100 Subject: lib/efl/elementary: _text_part_=>_part_text_ and _content_part_=>_part_content_ --- lib/efl/elementary.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index f62585f..8970b28 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -63,27 +63,27 @@ module Efl end # def text_set label - Native.elm_object_text_part_set @ptr, nil, label + Native.elm_object_part_text_set @ptr, nil, label end alias :text= :text_set # def text_get - Native.elm_object_text_part_get @ptr, nil + Native.elm_object_part_text_get @ptr, nil end alias :text :text_get # def content_set content - Native.elm_object_content_part_set @ptr, nil, content + Native.elm_object_part_content_set @ptr, nil, content end alias :content= :content_set # def content_get - Native.elm_object_content_part_get @ptr, nil + Native.elm_object_part_content_get @ptr, nil end alias :content :content_get # def content_unset - Native.elm_object_content_part_unset @ptr, nil + Native.elm_object_part_content_unset @ptr, nil end # def parent_widget_get @@ -107,9 +107,9 @@ module Efl # def texts_set l=nil, c=nil, r=nil l,c,r = *l if l.is_a? Array - Native.elm_object_text_part_set @ptr, "left", l - Native.elm_object_text_part_set @ptr, "center", c - Native.elm_object_text_part_set @ptr, "right", r + Native.elm_object_part_text_set @ptr, "left", l + Native.elm_object_part_text_set @ptr, "center", c + Native.elm_object_part_text_set @ptr, "right", r end alias :texts= :texts_set def indicator_set str -- cgit v1.1-2-g2b99