mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
b1a1da88c5
2008-05-10 Michael Natterer <mitch@gimp.org> Start changing the "Dialogs" menu to "Windows", still incomplete. Addresses bug #309707. * app/actions/Makefile.am * app/actions/windows-actions.[ch] * app/actions/windows-commands.[ch]: new files which currently hold the "show toolbox" action and callback and new code which maintains automatically generated actions for accessing (raising) all open images. * app/actions/actions.c: register the new "windows" action group. * app/actions/dialogs-actions.c * app/actions/dialogs-commands.[ch]: remove "show toolbox" action and callback and also the action for the "Disalogs" menu. * app/menus/Makefile.am * app/menus/windows-menu.[ch]: new files which create and destroy the menu items for the image window actions. * app/menus/menus.c: register the "windows" action group with all UI managers that have the "dialogs" action group. * app/menus/image-menu.c (image_menu_setup): call windows_menu_setup(). * app/gui/gui.c: s/dialogs_show_toolbox/windows_show_toolbox/g * menus/image-menu.xml.in: some minor s/dialogs/windows/ and add the "Images" submenu. svn path=/trunk/; revision=25623
39 lines
1.7 KiB
C
39 lines
1.7 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* 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 __DIALOGS_COMMANDS_H__
|
|
#define __DIALOGS_COMMANDS_H__
|
|
|
|
|
|
void dialogs_create_toplevel_cmd_callback (GtkAction *action,
|
|
const gchar *value,
|
|
gpointer data);
|
|
void dialogs_create_dockable_cmd_callback (GtkAction *action,
|
|
const gchar *value,
|
|
gpointer data);
|
|
|
|
void dialogs_create_lc_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void dialogs_create_data_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void dialogs_create_stuff_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __DIALOGS_COMMANDS_H__ */
|