From: discomfitor Date: Sun, 24 Jul 2011 07:47:17 +0000 (+0000) Subject: add entry,paste,request,1 and entry,paste,request,3 for different types of pasting X-Git-Tag: submit/trunk/20120815.180907~578 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e69e016ad92411180de70783fba6f192ff18885;p=profile%2Fivi%2Fedje.git add entry,paste,request,1 and entry,paste,request,3 for different types of pasting git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@61631 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index dc2d6eb..88592f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -127,3 +127,8 @@ 2011-06-21 Cedric Bail * Make it possible to define part.description.max only on one axis. + +2011-07-24 Mike Blumenkrantz + + * Add signals entry,paste,request,1 (PRIMARY) and entry,paste,request,3 (CLIPBOARD) + to differentiate between paste types diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 3480038..83a0401 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -1235,6 +1235,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v else if ((control) && (!strcmp(ev->key, "v"))) { _edje_emit(ed, "entry,paste,request", rp->part->name); + _edje_emit(ed, "entry,paste,request,3", rp->part->name); ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; } else if ((control) && ((!strcmp(ev->key, "c") || (!strcmp(ev->key, "Insert"))))) @@ -1450,6 +1451,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS if (ev->button == 2) { _edje_emit(rp->edje, "entry,paste,request", rp->part->name); + _edje_emit(rp->edje, "entry,paste,request,1", rp->part->name); return; } if (ev->button != 1) return;