X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=blobdiff_plain;f=lib%2Fredact%2Fpart.rb;h=e052540ad5e91628a6115735c4c36d68c2d5068e;hp=cbf1b6a8fdae702fd43d1c49654dc7e32f5d100b;hb=e6589624744430b826a27a71e3d4894516969fb3;hpb=47574ece011332aaf40f58d421894ff9b87b94a4 diff --git a/lib/redact/part.rb b/lib/redact/part.rb index cbf1b6a..e052540 100644 --- a/lib/redact/part.rb +++ b/lib/redact/part.rb @@ -1,5 +1,5 @@ #-- -# $Id: part.rb 27 2005-04-14 19:47:06Z tilman $ +# $Id: part.rb 28 2005-04-14 19:53:45Z tilman $ # # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # @@ -386,6 +386,7 @@ module Redact @id = image.id end + protected def to_eet_name "Edje_Part_Image_Id" end @@ -444,6 +445,7 @@ module Redact @border = [r, r, t, b] end + protected def to_eet_properties super.merge!( {"image.id" => [@image.nil? ? -1 : @image.id], @@ -528,6 +530,7 @@ module Redact @shadow_color = parse_hex_color(c) end + protected def to_eet_properties super.merge!( {"color2.r" => [@outline_color[0], :char],