mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
26e11d5fc3
2007-09-18 Michael Natterer <mitch@gimp.org> * configure.in: replaced HAVE_GDK_QUARTZ conditional by --disable-toolbox-menu configure switch which defaults to "yes" normally and to "no" on quartz. * app/widgets/gimptoolbox.c: changed #ifdef accordingly. * app/plug-in/Makefile.am * app/plug-in/plug-in-menu-path.[ch]: new generic machanism to map around menu locations. If ENABLE_TOOLBOX_MENU is false, map "Xtns" and "Help" from <Toolbox> to <Image>. * app/plug-in/gimppluginmanager-menu-branch.c * app/plug-in/gimppluginprocedure.c: run all menu paths through the new mapping function. * menus/Makefile.am * menus/menus.xsl * menus/image-menu.xml.in: add both the "Xtns" and "Help" menus to the image menubar if TOOLBOX_MENU is false. svn path=/trunk/; revision=23581
29 lines
1,009 B
C
29 lines
1,009 B
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* plug-in-menu-path.h
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __PLUG_IN_MENU_PATH_H__
|
|
#define __PLUG_IN_MENU_PATH_H__
|
|
|
|
|
|
gchar * plug_in_menu_path_map (const gchar *menu_path);
|
|
|
|
|
|
#endif /* __PLUG_IN_MENU_PATH_H__ */
|