Elm: Entry: cnp: Actually use the calculated format.

And I read this patch twice before I sent it.  So support images and text
again in entry _paste.

SVN revision: 56079
This commit is contained in:
Brett Nash 2011-01-13 23:08:37 +00:00
parent 78418c0226
commit c1a93b1841
1 changed files with 1 additions and 2 deletions

View File

@ -685,8 +685,7 @@ _paste(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
formats = ELM_SEL_FORMAT_MARKUP;
if (!wd->textonly)
formats |= ELM_SEL_FORMAT_IMAGE;
elm_selection_get(ELM_SEL_CLIPBOARD, ELM_SEL_FORMAT_MARKUP, data,
NULL, NULL);
elm_selection_get(ELM_SEL_CLIPBOARD, formats, data, NULL, NULL);
#endif
}
}