gimp/app/gui
Michael Natterer a3f44d8b0f Separated tool_options creation from tool registration so we don't
2002-06-17  Michael Natterer  <mitch@gimp.org>

	Separated tool_options creation from tool registration so we
	don't implicitly create widgets before gui_init():

	* libgimptool/gimptooltypes.h: removed GimpToolOptionsNewFunc
	typedef here...

	* app/core/core-types.h: ...and added it here.

	* libgimpproxy/gimpproxytypes.h: regenerated.

	* app/core/gimptoolinfo.[ch]: added a GimpToolOptionsNewFunc
	pointer to remember the constructor. Fixed the finalize() method
	(bug was never noticed because we leaked all tool infos)

	* app/tools/tool_manager.[ch]: moved tool_options creation to the
	new function tool_manager_restore(). Unref the tool infos after
	adding them to their container. Added "brush" and "gradient" to
	the context properties which are defined for tool contexts.

	* app/app_procs.c: call tool_manager_restore() after gui_init().

	* app/gui/gui.c: removed the hack introduced recently and call
	render_setup() in gui_init() again, not in gui_themes_init().

	Use the correct contexts now that they are properly initialized
	at the time of tool_options creation:

	* app/tools/gimpblendtool.c: use tool_info->context, not
	gimp_get_user_context() to get/set the tool's gradient.

	* app/paint/gimppaintcore.[ch] (gimp_paint_core_start): added a
	GimpPaintOptions paramater and get the brush to use from
	paint_options->context (instead of gimp_get_current_context()).

	* app/paint/gimppaintcore-stroke.c
	* app/tools/gimppainttool.c: changed accordingly.

	* app/tools/paint_options.c: added a brush preview to the paint
	options.
2002-06-17 10:34:28 +00:00
..
.cvsignore
about-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
about-dialog.h
authors.h
brush-select.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
brush-select.h renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
brushes-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
brushes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
buffers-commands.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
buffers-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
channels-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
channels-commands.h changed the GimpNewDrawableFunc typedef to take an additional 2001-12-17 13:41:23 +00:00
color-notebook.c g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
color-notebook.h
color-select.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
color-select.h
colormap-editor-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
colormap-editor-commands.h namespaceified and cleaned up a lot. Removed the menu code. 2002-03-17 13:52:25 +00:00
convert-dialog.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
convert-dialog.h
data-commands.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
data-commands.h
device-status-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
device-status-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
dialogs-commands.c added a read-only property for the display's image, so it can be retreived 2002-05-10 13:09:19 +00:00
dialogs-commands.h g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
dialogs-constructors.c set the view's display to NULL in "destroy". Fixes crash on closing the 2002-05-12 23:20:21 +00:00
dialogs-constructors.h app/Makefile.am removed. 2002-05-07 16:23:14 +00:00
dialogs.c app/Makefile.am removed. 2002-05-07 16:23:14 +00:00
dialogs.h g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
documents-commands.c added "gchar *name_changed_signal" to GimpViewableClass which defaults to 2002-04-28 23:10:42 +00:00
documents-commands.h added "gchar *name_changed_signal" to GimpViewableClass which defaults to 2002-04-28 23:10:42 +00:00
drawable-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
drawable-commands.h make absolute paths out of relative ones passed on the commandline so the 2002-02-26 16:30:14 +00:00
edit-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
edit-commands.h
error-console-dialog.c forgot a "return". 2001-12-01 22:59:48 +00:00
error-console-dialog.h app/main.c moved "message_handler" from here... 2001-12-01 21:02:34 +00:00
file-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
file-commands.h
file-dialog-utils.c save the number of layers in the thumbnail and show it in the description. 2002-04-18 01:18:24 +00:00
file-dialog-utils.h save the number of layers in the thumbnail and show it in the description. 2002-04-18 01:18:24 +00:00
file-new-dialog.c added _with_range variants for all enum menu widgets that limit the range 2002-05-13 17:15:17 +00:00
file-new-dialog.h
file-open-dialog.c added a return value to indicate success of 2002-05-15 11:05:32 +00:00
file-open-dialog.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
file-save-dialog.c save the number of layers in the thumbnail and show it in the description. 2002-04-18 01:18:24 +00:00
file-save-dialog.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
gradient-editor-commands.c changed gimp_channel_get_color() to not return the color but take a second 2002-03-08 16:34:42 +00:00
gradient-editor-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gradient-select.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
gradient-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
gradients-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
gradients-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gui-types.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gui.c Separated tool_options creation from tool registration so we don't 2002-06-17 10:34:28 +00:00
gui.h Sven Naumann <sven@gimp.org> 2002-02-28 13:47:03 +00:00
help-commands.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
help-commands.h app/gui/Makefile.am removed... 2002-03-20 20:08:19 +00:00
image-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
image-commands.h renamed shell->cd_list to shell->filters and shell->cd_ui to 2002-03-15 15:09:58 +00:00
images-commands.c removed unused commented out prototype. 2002-05-08 12:39:01 +00:00
images-commands.h removed unused commented out prototype. 2002-05-08 12:39:01 +00:00
info-dialog.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
info-dialog.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
info-window.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
info-window.h
layers-commands.c added _with_range variants for all enum menu widgets that limit the range 2002-05-13 17:15:17 +00:00
layers-commands.h reordered some lines, no logic changed. 2002-04-12 12:29:51 +00:00
Makefile.am app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
makefile.msc add appconfig.lib. Statically link libgimptool/gimptool.lib. 2002-05-10 23:30:09 +00:00
menus.c register the new "invert" and "layer to imagesize" PNGs as stock icons. 2002-06-16 15:22:21 +00:00
menus.h
module-browser.c add a shadow to the scrolled window, so it looks nicer 2001-12-31 01:59:46 +00:00
module-browser.h
offset-dialog.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
offset-dialog.h use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
palette-editor-commands.c g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
palette-editor-commands.h changed gimp_channel_get_color() to not return the color but take a second 2002-03-08 16:34:42 +00:00
palette-import-dialog.c added utility functions file_utils_uri_to_utf8_basename() and 2002-04-14 17:28:58 +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/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
palette-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
palettes-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
palettes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
paths-dialog.c app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c 2002-06-09 12:53:42 +00:00
paths-dialog.h
pattern-select.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
pattern-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
patterns-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
patterns-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
plug-in-commands.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-commands.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-menus.c add appconfig.lib. Statically link libgimptool/gimptool.lib. 2002-05-10 23:30:09 +00:00
plug-in-menus.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
preferences-dialog.c renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for 2002-05-29 09:20:56 +00:00
preferences-dialog.h
qmask-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
qmask-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
resize-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
resize-dialog.h Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +00:00
resolution-calibrate-dialog.c take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
select-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
select-commands.h
session.c parse sessionrc using GScanner. 2002-06-02 19:48:01 +00:00
session.h
splash.c don't allow to close the splash screen. Fixes bug #81962. 2002-05-16 14:13:20 +00:00
splash.h
test-commands.c app/config/test-config.c use g_error_free() so we crash if our GimpConfig 2002-05-28 18:49:45 +00:00
test-commands.h override GObjectClass->constructor() and do the setup stuff there, not in 2002-05-28 16:41:56 +00:00
tips-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
tips-dialog.h
tips-parser.c app/gui/tips-dialog.c added support for simple text markup. 2002-02-26 16:55:09 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
tool-options-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
tool-options-dialog.h app/gui/dialogs-constructors.[ch] app/gui/dialogs.c made the tool options 2002-03-10 15:05:58 +00:00
tools-commands.c massive tool plugin changes 2002-03-29 03:50:29 +00:00
tools-commands.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
user-install-dialog.c renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for 2002-05-29 09:20:56 +00:00
user-install-dialog.h
vectors-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
vectors-commands.h added a "item_activate_func" to the struct and the constructor so we can 2002-02-26 14:40:30 +00:00
view-commands.c app/Makefile.am removed. 2002-05-07 16:23:14 +00:00
view-commands.h pass an additional "Gimp" pointer to 2002-03-20 15:32:35 +00:00