st-entry: Handle <shift>insert
GTK+ supports this as alternative to <ctrl>v, so let's do the same for consistency. https://bugzilla.gnome.org/show_bug.cgi?id=648318
This commit is contained in:
parent
05ddece9a0
commit
24897169a9
@ -599,8 +599,10 @@ st_entry_key_press_event (ClutterActor *actor,
|
|||||||
didn't handle them */
|
didn't handle them */
|
||||||
|
|
||||||
/* paste */
|
/* paste */
|
||||||
if ((event->modifier_state & CLUTTER_CONTROL_MASK)
|
if (((event->modifier_state & CLUTTER_CONTROL_MASK)
|
||||||
&& event->keyval == CLUTTER_v)
|
&& event->keyval == CLUTTER_KEY_v) ||
|
||||||
|
((event->modifier_state & CLUTTER_SHIFT_MASK)
|
||||||
|
&& event->keyval == CLUTTER_KEY_Insert))
|
||||||
{
|
{
|
||||||
StClipboard *clipboard;
|
StClipboard *clipboard;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user