projects
/
framework
/
uifw
/
cbhm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b970e
)
enable mark text - image copy feature
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Fri, 8 Oct 2010 08:59:28 +0000
(17:59 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Fri, 8 Oct 2010 08:59:28 +0000
(17:59 +0900)
src/xcnphandler.c
patch
|
blob
|
history
diff --git
a/src/xcnphandler.c
b/src/xcnphandler.c
index
93cf049
..
b3db943
100755
(executable)
--- a/
src/xcnphandler.c
+++ b/
src/xcnphandler.c
@@
-210,7
+210,9
@@
int get_selection_content(void *data)
// add_to_storage_buffer(ad, cbbuf, cbitems);
// DTRACE("len = %ld, data = %s\n", cbitems, cbbuf);
-/*
+ /* FIXME : it needs two verification.
+ 1. does the file exist?
+ 2. dose the file wanted type? */
if (!strncmp(unesc, "file://", 7) &&
(strstr(unesc,".png") || strstr(unesc,".jpg")))
{
@@
-218,7
+220,6
@@
int get_selection_content(void *data)
clipdrawer_add_image_item(unesc);
}
else
-*/
add_to_storage_buffer(ad, unesc, strlen(unesc));
DTRACE("len = %ld, data = %s\n", strlen(unesc), unesc);
free(unesc);