mirror of https://github.com/GNOME/gimp.git
app, menus, plug-ins: move some advanced paste actions into submenu.
There are so many paste options and I feel that the "Paste into Selection*" actions are advanved enough that they can go into submenus. So I move them into "Paste as". The other reason is that I'm going to add 2 more options! I hesitated to rename the "Paste as" submenu but we couldn't find a good naming (except just "Paste" but it's redundant with the default action and "Paste…" but this usually implies a dialog, not a submenu). Last but not least, I renamed the various paste actions to contain the word "Paste" in it. E.g. s/New Image/Paste as New Image/. The old naming made sense when action labels were only displayed in menus. But nowadays they can be shown in other more independant context, such as the action search (and just displaying "New Image" in there is very misleading).
This commit is contained in:
parent
92cc33d52a
commit
fc050914ab
|
@ -126,7 +126,7 @@ static const GimpActionEntry edit_actions[] =
|
|||
GIMP_HELP_EDIT_PASTE_AS_NEW_IMAGE },
|
||||
|
||||
{ "edit-paste-as-new-image-short", GIMP_ICON_EDIT_PASTE_AS_NEW,
|
||||
NC_("edit-action", "_New Image"), NULL,
|
||||
NC_("edit-action", "Paste as _New Image"), NULL,
|
||||
NC_("edit-action", "Create a new image from the content of the clipboard"),
|
||||
edit_paste_as_new_image_cmd_callback,
|
||||
GIMP_HELP_EDIT_PASTE_AS_NEW_IMAGE },
|
||||
|
|
|
@ -195,10 +195,10 @@
|
|||
<placeholder name="Paste">
|
||||
<menuitem action="edit-paste" />
|
||||
<menuitem action="edit-paste-in-place" />
|
||||
<menuitem action="edit-paste-into" />
|
||||
<menuitem action="edit-paste-into-in-place" />
|
||||
</placeholder>
|
||||
<menu action="edit-paste-as-menu" name="Paste as">
|
||||
<menuitem action="edit-paste-into" />
|
||||
<menuitem action="edit-paste-into-in-place" />
|
||||
<menuitem action="edit-paste-as-new-image-short" />
|
||||
</menu>
|
||||
<menu action="edit-buffer-menu" name="Buffer">
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
)
|
||||
|
||||
(script-fu-register "script-fu-paste-as-brush"
|
||||
_"New _Brush..."
|
||||
_"Paste as New _Brush..."
|
||||
_"Paste the clipboard contents into a new brush"
|
||||
"Michael Natterer <mitch@gimp.org>"
|
||||
"Michael Natterer"
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
)
|
||||
|
||||
(script-fu-register "script-fu-paste-as-pattern"
|
||||
_"New _Pattern..."
|
||||
_"Paste as New _Pattern..."
|
||||
_"Paste the clipboard contents into a new pattern"
|
||||
"Michael Natterer <mitch@gimp.org>"
|
||||
"Michael Natterer"
|
||||
|
|
Loading…
Reference in New Issue