Elm entry: Disable middle click pasting when in non-editable mode.

Many thanks to Jérôme Pinot for the report.

SVN revision: 69047
This commit is contained in:
Tom Hacohen 2012-03-08 10:30:25 +00:00
parent 3479a4feb5
commit b24772dfc2
1 changed files with 1 additions and 0 deletions

View File

@ -1719,6 +1719,7 @@ _signal_entry_paste_request(void *data, Evas_Object *obj __UNUSED__, const char
Elm_Sel_Type type = (emission[sizeof("ntry,paste,request,")] == '1') ?
ELM_SEL_TYPE_PRIMARY : ELM_SEL_TYPE_CLIPBOARD;
if (!wd) return;
if (!wd->editable) return;
evas_object_smart_callback_call(data, SIG_SELECTION_PASTE, NULL);
if (wd->sel_notify_handler)
{