removed "translation-domain" property and simply use gettext(). Plug-In
2004-04-27 Michael Natterer <mitch@gimp.org> * app/widgets/gimpactiongroup.[ch]: removed "translation-domain" property and simply use gettext(). Plug-In domains are handled by plug-in-actions.c The following change finally starts breaking the old menu system while the new one is not fully in place yet. Have fun: * menus/image-menu.xml: added several <placeholder>s for plug-ins to register their menu entries in the middle of already existing menus. * app/gui/menus.c * plug-ins/common/mail.c * plug-ins/print/print.c * plug-ins/script-fu/scripts/copy-visible.scm: use the new placeholders to register menu entries.
This commit is contained in:

committed by
Michael Natterer

parent
4e8105c12f
commit
a5130581db
@ -15,11 +15,14 @@
|
||||
<menu action="file-acquire-menu" name="Acquire">
|
||||
</menu>
|
||||
<separator />
|
||||
<menuitem action="file-save" />
|
||||
<menuitem action="file-save-as" />
|
||||
<menuitem action="file-save-a-copy" />
|
||||
<menuitem action="file-save-as-template" />
|
||||
<menuitem action="file-revert" />
|
||||
<placeholder name="Save">
|
||||
<menuitem action="file-save" />
|
||||
<menuitem action="file-save-as" />
|
||||
<menuitem action="file-save-a-copy" />
|
||||
<menuitem action="file-save-as-template" />
|
||||
<menuitem action="file-revert" />
|
||||
<separator />
|
||||
</placeholder>
|
||||
<separator />
|
||||
<menuitem action="file-close" />
|
||||
<menuitem action="file-quit" />
|
||||
@ -30,11 +33,17 @@
|
||||
<menuitem action="edit-redo" />
|
||||
<menuitem action="dialogs-undo-history" />
|
||||
<separator />
|
||||
<menuitem action="edit-cut" />
|
||||
<menuitem action="edit-copy" />
|
||||
<menuitem action="edit-paste" />
|
||||
<menuitem action="edit-paste-into" />
|
||||
<menuitem action="edit-paste-as-new" />
|
||||
<placeholder name="Cut">
|
||||
<menuitem action="edit-cut" />
|
||||
</placeholder>
|
||||
<placeholder name="Copy">
|
||||
<menuitem action="edit-copy" />
|
||||
</placeholder>
|
||||
<placeholder name="Paste">
|
||||
<menuitem action="edit-paste" />
|
||||
<menuitem action="edit-paste-into" />
|
||||
<menuitem action="edit-paste-as-new" />
|
||||
</placeholder>
|
||||
<menu action="edit-buffer-menu" name="Buffer">
|
||||
<menuitem action="edit-named-cut" />
|
||||
<menuitem action="edit-named-copy" />
|
||||
|
Reference in New Issue
Block a user