From 51c076493058b455118882da7403c37fa61e8822 Mon Sep 17 00:00:00 2001 From: "deasung.kim" Date: Wed, 21 Sep 2011 15:22:13 +0900 Subject: [PATCH] bugfix: BS when paste image path --- src/lib/elm_cnp_helper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_cnp_helper.c b/src/lib/elm_cnp_helper.c index d0b0ef9..dd99db6 100644 --- a/src/lib/elm_cnp_helper.c +++ b/src/lib/elm_cnp_helper.c @@ -1429,8 +1429,6 @@ is_uri_type_data(Cnp_Selection *sel __UNUSED__, Ecore_X_Event_Selection_Notify * cnp_debug("Got %s\n", p); if (strncmp(p, "file://", 7)) { - /* elm_selection_set send target notify->data just "x" */ - if (*p == 'x') return EINA_TRUE; if (*p != '/') return EINA_FALSE; } @@ -1460,11 +1458,11 @@ notify_handler_targets(Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notif { if ((atoms[j].atom == atomlist[i]) && (atoms[j].notify)) { - if ((j == CNP_ATOM_text_uri) || +/* if ((j == CNP_ATOM_text_uri) || (j == CNP_ATOM_text_urilist)) { if(!is_uri_type_data(sel, notify)) continue; - } + }*/ cnp_debug("Atom %s matches\n",atoms[j].name); goto done; } -- 2.7.4