mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
71cf9ee2c6
2005-09-24 Michael Natterer <mitch@gimp.org> Applied (slightly modified) patch from Sylvain Foret which adds "Close All" menu entries and dialog. Fixes bug #163532. * app/actions/file-actions.c * app/actions/file-commands.[ch]: added "file-close-all" action and callback. * app/dialogs/dialogs-constructors.[ch] * app/dialogs/dialogs.c * app/dialogs/quit-dialog.[ch]: added close all dialog which is a modified quit dialog. * app/widgets/gimphelp-ids.h: added help ID. * menus/image-menu.xml.in * menus/toolbox-menu.xml.in: add close all next to quit.
30 lines
1 KiB
C
30 lines
1 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* Copyright (C) 2004 Sven Neumann
|
|
*
|
|
* 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 __QUIT_DIALOG_H__
|
|
#define __QUIT_DIALOG_H__
|
|
|
|
|
|
GtkWidget * quit_dialog_new (Gimp *gimp);
|
|
GtkWidget * close_all_dialog_new (Gimp *gimp);
|
|
|
|
|
|
#endif /* __QUIT_DIALOG_H__ */
|