mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-18 22:03:53 +00:00
f12d0d8c29
Add "In Place" variants for all sorts of pasting: - extend the GimpPasteType enum with IN_PLACE values - add the needed actions and menu items - merge the action callbacks into one, taking an enum value as parameter - refactor the pasting code in gimp-edit.c into smaller functions We probably have too menu items in the "Edit" menu now, needs to be sorted out.
17 lines
550 B
XML
17 lines
550 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
|
|
|
|
<ui>
|
|
<popup action="buffers-popup">
|
|
<menuitem action="buffers-paste" />
|
|
<menuitem action="buffers-paste-in-place" />
|
|
<menuitem action="buffers-paste-into" />
|
|
<menuitem action="buffers-paste-into-in-place" />
|
|
<menuitem action="buffers-paste-as-new-layer" />
|
|
<menuitem action="buffers-paste-as-new-layer-in-place" />
|
|
<menuitem action="buffers-paste-as-new-image" />
|
|
<menuitem action="buffers-delete" />
|
|
<separator />
|
|
</popup>
|
|
</ui>
|