app/actions/Makefile.am new files holding utility functions to create
2005-01-28 Michael Natterer <mitch@gimp.org> * app/actions/Makefile.am * app/actions/window-actions.[ch]: new files holding utility functions to create actions to move windows to other screens. * app/actions/dock-actions.c * app/actions/dock-commands.[ch] * app/actions/view-actions.c * app/actions/view-commands.[ch]: use the new actions instead of the change screen dialog. * app/menus/Makefile.am * app/menus/window-menu.[ch]: new files which create menu items for above actions. * app/menus/dockable-menu.[ch]: new files using above window-menu utility functions. * app/menus/image-menu.c: use them here too. * app/menus/menus.c: set a setup_func for the "<Dockable>" UI manager. * menus/dockable-menu.xml.in * menus/image-menu.xml.in: changed accordingly.
This commit is contained in:

committed by
Michael Natterer

parent
52d0d70b5f
commit
b0f83a4b4f
28
app/menus/window-menu.h
Normal file
28
app/menus/window-menu.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* The GIMP -- an 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 __WINDOW_MENU_H__
|
||||
#define __WINDOW_MENU_H__
|
||||
|
||||
|
||||
void window_menu_setup (GimpUIManager *manager,
|
||||
const gchar *group_name,
|
||||
const gchar *ui_path);
|
||||
|
||||
|
||||
#endif /* __WINDOW_MENU_H__ */
|
Reference in New Issue
Block a user