On Tue, Apr 14, 2009 at 9:31 AM, Gustavo Sverzut Barbieri <[email protected]> wrote: > On Tue, Apr 14, 2009 at 9:14 AM, Carsten Haitzler <[email protected]> > wrote: >> On Tue, 14 Apr 2009 14:15:49 +0530 Noorul Islam K M <[email protected]> said: >> >>> >>> Hello e-users, >>> >>> >>> I have been trying to use e-notify-send for some application. But if I >>> try to send a message that contains "<" symbol then nothing is getting >>> displayed. Did anyone else face similar problem? >>> >>> All these combinations does not work. >>> >>> e-notify-send "<Hello" >>> e-notify-send "Hell<o" >>> e-notify-send "\<Hello" >> >> likely its using texblocks and using markup mode... and thus < is part of a >> tag... if tags are not part of the format they should be escaped beforehand. >> (along with >'s amd &;s (ie < == < , > == > , & == & etc) > > as i said at irc, we should have this as edje api, as a function to > automatic escape chars if part is TEXTBLOCK, but then we need to find > out a good name for it. > > code is not to escape is not as easy as it could be, doc and parameter > name do not help much either, I had to look at the code inside evas to > find out how to use it, so I guess a function in edje would help > everybody. I can do the function, just say a good name for it, maybe: > > edje_object_part_text_text_unescaped_set(ed, part_name, raw_text) > > it will check for part type before doing the escaping using > evas_textblock_string_escape_get().
just did the code and it's in svn, now someone need to update notification module to use it. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
