On Wed, 15 Jun 2011 20:38:19 +0900 Hyoyoung Chang <[email protected]>
said:

it looks like cnp_rempi.patch.txt replaces cnp_uritext.patch.txt having a look
at these. am i right? it seems some bits are missing like adding
is_uri_type_data()

> Dear Elementary developers.
> 
> I've made a patch about elm_cnp_helper.
> It's contains two things.
> 
> First is remove pastedimages variable (unused variable)
> Other thing is about determine type.
> When a user is trying to paste data, elm_cnp_helper call
> notify_handler_targets.
> In notify_handler_targets, it enumerates atoms and figure out matching
> types.
> Atom types are sorted by rich types to simple types.
> So if a user's trying to paste simple text type, it will match uri type.
> Because uri type also can be a text type. 
> However in uri type handling functions, there are no fallback to text type.
> This patch makes if pasting data is just text, do not pass it as a uri.
> 
> Thank you.
> 
> ----------------------------------
> Hyoyoung CHANG
> Engineer
> 
> SAMSUNG ELECTRONICS, Co., Ltd.
> E-mail: [email protected]
> ----------------------------------


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to