gimp/app/gui
Michael Natterer 4654280114 Switch from GtkItemFactory to GtkUIManager. The migration is almost
2004-04-29  Michael Natterer  <mitch@gimp.org>

	Switch from GtkItemFactory to GtkUIManager. The migration is
	almost complete, still stuff missing/incomplete, definitely added
	a bunch of new bugs...

	* app/actions/*-commands.[ch]: converted all callback from
	GtkItemFactory callbacks to GtkAction callbacks.

	* app/actions/debug-actions.c
	* app/actions/gradient-editor-actions.c
	* app/actions/help-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/qmask-actions.c
	* app/actions/tool-options-actions.c: various fixes.

	* app/display/gimpdisplay.[ch]
	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.[ch]: move everything from
	GtkItemFactory to GtkUIManager.

	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
	Needed because the action callbacks don't have a widget parameter
	and sometimes we need a parent window for showing dialogs.

	* app/gui/Makefile.am
	* app/gui/brushes-menu.[ch]
	* app/gui/buffers-menu.[ch]
	* app/gui/channels-menu.[ch]
	* app/gui/colormap-editor-menu.[ch]
	* app/gui/dialogs-menu.[ch]
	* app/gui/documents-menu.[ch]
	* app/gui/error-console-menu.[ch]
	* app/gui/fonts-menu.[ch]
	* app/gui/gradient-editor-menu.[ch]
	* app/gui/gradients-menu.[ch]
	* app/gui/images-menu.[ch]
	* app/gui/layers-menu.[ch]
	* app/gui/palette-editor-menu.[ch]
	* app/gui/palettes-menu.[ch]
	* app/gui/patterns-menu.[ch]
	* app/gui/qmask-menu.[ch]
	* app/gui/templates-menu.[ch]
	* app/gui/vectors-menu.[ch]: removed these files.

	* app/gui/gui.c: create a global UI manager for the image popup
	menu and the toolbox menubar.

	* app/gui/menus.[ch]: removed all GtkItemFactory code.

	* app/gui/image-menu.[ch]
	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
	setup_funcs.

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/tool-options-menu.c: don't use the macros from menus.h
	any more, they are gone.

	* app/gui/gui-vtable.c
	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
	menu entries.

	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
	gimp_ui_manager_update/g

	* app/widgets/gimpuimanager.[ch]: added API to get an action
	group by name.

	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
	entries being NULL.

	* app/widgets/gimpactiongroup.c: make sure booleans set using
	g_object_set() only have TRUE or FALSE values.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.[ch]
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpdockable.[ch]
	* app/widgets/gimpdocked.[ch]
	* app/widgets/gimpeditor.[ch]
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
	code and enable the #if 0'ed UI manager stuff.

	* menus/gradient-editor-menu.xml: fixed typos.

	* menus/image-menu.xml: duplicate everything so we have both
	an image menubar and an image popup menu. Badly cries for an
	XSL processor.

	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
2004-04-29 12:52:29 +00:00
..
.cvsignore configure.in app/Makefile.am new directory which will contain all gui code 2001-04-14 15:21:45 +00:00
Makefile.am Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
about-dialog.c don't abuse the SPLASHSCREEN window type hint, instead make the about 2004-03-14 20:55:13 +00:00
about-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
authors.h Fixed/Added some UTF-8 encoded names. Please speak up if I did mess up 2003-10-25 23:39:51 +00:00
brush-select.c added new function gimp_paint_mode_menu_set_history(). 2004-04-20 13:10:50 +00:00
brush-select.h app/widgets/Makefile.am app/widgets/widgets-types.h removed GimpEnumMenu. 2004-04-18 15:12:42 +00:00
color-history.c app/gui/color-history.[ch] app/gui/gui.c moved the color history out of 2003-11-13 15:25:38 +00:00
color-history.h app/gui/color-history.[ch] app/gui/gui.c moved the color history out of 2003-11-13 15:25:38 +00:00
color-notebook.c app/gui/color-notebook.c (color_notebook_new) app/tools/gimpcroptool.c 2004-03-19 10:15:56 +00:00
color-notebook.h removed color_notebook_new() and renamed color_notebook_viewable_new() to 2003-11-10 17:55:44 +00:00
convert-dialog.c renamed convert_to_indexed() to convert_dialog_new() and return the 2004-04-20 13:44:19 +00:00
convert-dialog.h renamed convert_to_indexed() to convert_dialog_new() and return the 2004-04-20 13:44:19 +00:00
dialogs-constructors.c app/gui/dialogs-constructors.c silent the compiler. 2004-04-22 17:38:14 +00:00
dialogs-constructors.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
dialogs.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dialogs.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-dialog-utils.c derive it from GtkFileChooser instead of GtkFileSelection. 2004-04-15 16:28:26 +00:00
file-dialog-utils.h renamed parameters and removed useless #includes. 2004-02-27 14:51:51 +00:00
file-new-dialog.c Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
file-new-dialog.h added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
file-open-dialog.c derive it from GtkFileChooser instead of GtkFileSelection. 2004-04-15 16:28:26 +00:00
file-open-dialog.h app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing 2004-02-27 14:20:19 +00:00
file-open-menu.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-open-menu.h app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing 2004-02-27 14:20:19 +00:00
file-save-dialog.c derive it from GtkFileChooser instead of GtkFileSelection. 2004-04-15 16:28:26 +00:00
file-save-dialog.h app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing 2004-02-27 14:20:19 +00:00
file-save-menu.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-save-menu.h app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing 2004-02-27 14:20:19 +00:00
font-select.c Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
font-select.h Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
gradient-select.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkUIManager 2004-04-21 16:33:17 +00:00
gradient-select.h Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
grid-dialog.c app/display/gimpdisplayshell-callbacks.c 2004-04-04 17:17:40 +00:00
grid-dialog.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gui-types.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gui-vtable.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gui-vtable.h Cleaned up the app init and exit stuff even more. Also reduces the number 2003-10-02 11:26:26 +00:00
gui.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gui.h app/Makefile.am new files implementing sanity_check() for run-time 2004-03-30 11:32:21 +00:00
image-menu.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
image-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
info-dialog.c renamed info_dialog_popdown() to info_dialog_hide() and 2004-01-21 11:16:57 +00:00
info-dialog.h renamed info_dialog_popdown() to info_dialog_hide() and 2004-01-21 11:16:57 +00:00
info-window.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
makefile.msc updated 2004-03-07 23:13:51 +00:00
menus.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
menus.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
module-browser.c Use the correct GTK+ APIs for setting and changing the theme: 2003-11-12 12:56:31 +00:00
module-browser.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c renamed convert_to_indexed() to convert_dialog_new() and return the 2004-04-20 13:44:19 +00:00
offset-dialog.h renamed convert_to_indexed() to convert_dialog_new() and return the 2004-04-20 13:44:19 +00:00
palette-import-dialog.c app/core/gimppalette-import.[ch] added palette import from RIFF palette 2004-04-15 15:03:20 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
palette-select.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkUIManager 2004-04-21 16:33:17 +00:00
palette-select.h Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
pattern-select.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkUIManager 2004-04-21 16:33:17 +00:00
pattern-select.h Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
plug-in-menus.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
plug-in-menus.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
preferences-dialog.c app/gui/dialogs-constructors.c silent the compiler. 2004-04-22 17:38:14 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
resize-dialog.c libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h 2004-04-20 19:06:37 +00:00
resize-dialog.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
resolution-calibrate-dialog.c removed the call to gtk_widget_get_toplevel() again. Implement the 2004-02-28 21:33:03 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
session.c app/gui/color-history.[ch] app/gui/gui.c moved the color history out of 2003-11-13 15:25:38 +00:00
session.h app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
splash.c moved global variables to a struct and optimized the area exposed from 2004-03-15 16:43:11 +00:00
splash.h splash image for GIMP 2.0 by Jimmac. 2004-03-15 00:17:21 +00:00
stroke-dialog.c Context cleanup continued: 2004-04-15 13:10:51 +00:00
stroke-dialog.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
themes.c Fix undefined behaviour. Fixes crash in bringing up the Preferences dialog 2004-01-21 12:03:26 +00:00
themes.h new utility function which takes a filename relative to the theme's root 2003-11-15 17:53:18 +00:00
tips-dialog.c Some code review: 2004-02-18 13:43:50 +00:00
tips-dialog.h Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +00:00
tips-parser.c app/config/Makefile.am app/config/config-types.h new files that hold a 2003-09-15 15:24:52 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
tool-options-menu.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tool-options-menu.h app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing 2004-02-27 14:20:19 +00:00
toolbox-menu.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
toolbox-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
user-install-dialog.c unset the bg_pixmap and tweak style colors for all states. Sort of ugly 2004-04-01 18:43:42 +00:00
user-install-dialog.h Cleaned up the app init and exit stuff even more. Also reduces the number 2003-10-02 11:26:26 +00:00