omitting to mention about 'file://' that is my mistake. Anyway, my intend is making fallback to text paste. also I think just making fallback is not good idea than detecting targets. I write a small patch to determine data type.(such as uri or text)
> -----Original Message----- > From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] > Sent: Wednesday, June 15, 2011 6:43 PM > To: Hyoyoung Chang > Cc: enlightenment-devel@lists.sourceforge.net > Subject: Re: [E-devel] [patch] elm_cnp_helper - pasting at uri request > > On Mon, 13 Jun 2011 20:41:21 +0900 Hyoyoung Chang > <hyoyoung.ch...@samsung.com> > said: > > fyi i dont think your patch does what you say it does. :) cnp helper > ignores > uris if they DONT start with either file:// or /. > > what i'd like to know is.. why do you have to patch this behavior? > > > Dear Elementary developers. > > > > I've made a patch about elm_cnp_helper. > > When pasting cnp_helper recognizes mark up text as a uri list, then cnp > > helper ignore it if it's not starting with "/". > > I modified this with if it's not starting with "/" then it's pasting to > > entry. > > > > Thank you. > > > > ---------------------------------- > > Hyoyoung CHANG > > Engineer > > > > SAMSUNG ELECTRONICS, Co., Ltd. > > E-mail: hyoyoung.ch...@samsung.com > > ---------------------------------- > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel