Gimp/menus/Makefile.am
Michael Natterer 5d7b121fd7 Don't use deprecated GtkToolbar API in GimpTextEditor:
2004-11-04  Michael Natterer  <mitch@gimp.org>

	Don't use deprecated GtkToolbar API in GimpTextEditor:

	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/actions/text-editor-actions.[ch]
	* app/actions/text-editor-commands.[ch]: added acions and
	callbacks for the new "text-editor" action group.

	* app/menus/menus.c: register a "<TextEditor>" UI manager.

	* menus/Makefile.am
	* menus/text-editor-toolbar.xml: new file for the toolbar.

	* app/widgets/gimptexteditor.[ch]: use the toolbar created by the
	UI manager instead of constructing it using deprecated API.

	* app/tools/gimptextoptions.c: changed accordingly.

	* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_load()
	(used by text-editor-commands.c).
2004-11-04 14:24:32 +00:00

62 lines
1.3 KiB
Makefile

## Makefile.am for gimp/menus
menudatadir = $(gimpdatadir)/menus
menudata_in_files = \
dockable-menu.xml.in \
image-menu.xml.in \
toolbox-menu.xml.in
menudata_built_files = $(menudata_in_files:.xml.in=.xml)
menudata_DATA = \
$(menudata_built_files) \
brushes-menu.xml \
buffers-menu.xml \
channels-menu.xml \
colormap-editor-menu.xml \
documents-menu.xml \
error-console-menu.xml \
fonts-menu.xml \
gradient-editor-menu.xml \
gradients-menu.xml \
images-menu.xml \
layers-menu.xml \
palette-editor-menu.xml \
palettes-menu.xml \
patterns-menu.xml \
qmask-menu.xml \
selection-editor-menu.xml \
templates-menu.xml \
text-editor-toolbar.xml \
tool-options-menu.xml \
tools-menu.xml \
vectors-menu.xml
EXTRA_DIST = \
$(menudata_DATA) \
$(menudata_in_files) \
dialogs-menuitems.xml \
gtkuimanager.dtd \
menus.xsl
MAINTAINERCLEAN_FILES = $(menudata_built_files)
%.xml: %.xml.in menus.xsl dialogs-menuitems.xml
if HAVE_XSLTPROC
$(XSLTPROC) --xinclude menus.xsl $< > $(@) || rm -f $(@)
else
@echo "xsltproc is needed to build the menus XML files"; exit 1;
endif
validate: $(menudata_DATA)
if HAVE_XMLLINT
@for menu in $(menudata_DATA); do \
$(XMLLINT) --noout --valid $$menu || \
( echo "* $$menu INVALID *"; exit 1; ) ; \
done
endif
dist-hook: validate