forked from enlightenment/efl
entry: Show "Paste" option when called ctxpopup with selection
"Paste" is usefull not only for pasting clipboard but also for replacing selection to clipboard.
This commit is contained in:
parent
e26c97d55c
commit
a797f529e7
|
@ -1332,9 +1332,15 @@ _menu_call(Evas_Object *obj)
|
|||
(sd->hoversel, E_("Copy"), NULL, ELM_ICON_NONE,
|
||||
_copy_cb, obj);
|
||||
if (sd->editable)
|
||||
elm_hoversel_item_add
|
||||
(sd->hoversel, E_("Cut"), NULL, ELM_ICON_NONE,
|
||||
_cut_cb, obj);
|
||||
{
|
||||
elm_hoversel_item_add
|
||||
(sd->hoversel, E_("Cut"), NULL, ELM_ICON_NONE,
|
||||
_cut_cb, obj);
|
||||
if (ownersel)
|
||||
elm_hoversel_item_add
|
||||
(sd->hoversel, E_("Paste"), NULL, ELM_ICON_NONE,
|
||||
_paste_cb, obj);
|
||||
}
|
||||
elm_hoversel_item_add
|
||||
(sd->hoversel, E_("Cancel"), NULL, ELM_ICON_NONE,
|
||||
_hover_cancel_cb, obj);
|
||||
|
|
Loading…
Reference in New Issue