Gimp/app/gui
Michael Natterer fefaf61b28 added new function gimp_dialog_factory_add_foreign() which adds a dialog
2003-05-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: added new function
	gimp_dialog_factory_add_foreign() which adds a dialog that was not
	created by the factory itself. Its identifier however must be
	registered with the factory. Connect to all toplevel dialogs'
	"configure_event" and remember the resulting window geometry so we
	get session management for *all* dialogs, not only for those which
	were open on exit.

	* app/gui/dialogs.c: added the "File New" dialog. Added foreign
	entries (without constructor) for all dialogs opened by tools.

	* app/gui/dialogs-constructors.[ch]: added a constructor for
	the file_new dialog.

	* app/gui/file-new-dialog.[ch]: renamed file_new_dialog_create()
	to file_new_dialog_new() and removed the gimage and template
	paramaters. Adder new function file_new_dialog_set() to set
	gimage and template after creation.

	* app/gui/file-commands.c
	* app/gui/templates-commands.c: changed accordingly.

	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimptransformtool.[ch]: added
	"const gchar *shell_identifier" to the tool structs. Register the
	tool dialogs using gimp_dialog_factory_add_foreign().

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimpthresholdtool.c: set "shell_identifier" so the
	dialogs become session managed. Fixes bug #61091.

	* app/tools/gimpcroptool.c: register the crop dialog with the
	dialog factory. Fixes bug #52849.

	* app/tools/gimpcolorpickertool.c: ditto.

	Unrelated:

	* app/tools/gimptool.c: no need to cast the return value of
	g_object_new().
2003-05-02 18:43:15 +00:00
..
.cvsignore
about-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
about-dialog.h
authors.h fixed stupid bug that caused this plug-in to map to undefined values. 2002-11-05 23:01:04 +00:00
brush-select.c app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
brush-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
brushes-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
brushes-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
buffers-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
buffers-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
buffers-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
channels-commands.c app/gui/channels-commands.c app/gui/file-new-dialog.c 2003-03-27 14:25:18 +00:00
channels-commands.h added descriptions to the GimpChannelType enum. 2003-03-12 17:12:01 +00:00
channels-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
channels-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
color-history.c removed gimp_scanner_parse_string_list() since the format it read wasn't 2003-03-10 19:01:07 +00:00
color-history.h removed gimp_scanner_parse_string_list() since the format it read wasn't 2003-03-10 19:01:07 +00:00
color-notebook.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
color-notebook.h the color scales from the main color selection as GimpColorSelector 2002-10-28 20:13:17 +00:00
colormap-editor-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
colormap-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
colormap-editor-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
colormap-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
convert-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
convert-dialog.h
data-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
data-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
debug-commands.c Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
debug-commands.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
device-status-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
device-status-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
dialogs-commands.c app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
dialogs-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs-constructors.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
dialogs-constructors.h added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
dialogs-menu.c reset object properties only if they are GIMP_PARAM_SERIALIZABLE. 2003-04-05 19:56:38 +00:00
dialogs-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
dialogs.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +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 gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
documents-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
documents-menu.c use "", not NULL for "no accelerator", since NULL will show the 2003-04-04 10:11:38 +00:00
documents-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
drawable-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
edit-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
error-console-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +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 added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
file-commands.h Added preliminary support for image templates. Not finished yet. Addresses 2003-04-03 17:50:56 +00:00
file-dialog-utils.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
file-dialog-utils.h removed. 2003-01-31 11:54:16 +00:00
file-new-dialog.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +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 added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
file-open-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-open-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
file-open-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
file-save-dialog.c added "gboolean set_image_clean" and call gimp_image_clean_all() only if 2003-04-09 09:52:01 +00:00
file-save-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-save-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
file-save-menu.h removed. 2003-01-31 11:54:16 +00:00
font-select.c app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
font-select.h app/gui/Makefile.am added font selection GUI to be used through the PDB. 2003-03-28 14:13:54 +00:00
gradient-editor-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gradient-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-editor-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gradient-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradient-select.c app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
gradient-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
gradients-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gradients-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gradients-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gradients-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
gui-types.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gui.c app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
gui.h make gui_libs_init() use gtk_init_check() and return a gboolean on success 2003-01-08 23:43:31 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +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
image-menu.c don't try to hide the tearoff menu item if tearoff menus are disabled in 2003-04-09 11:13:00 +00:00
image-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-commands.c app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
images-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
images-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
info-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
info-dialog.h app/gui/file-new-dialog.c app/gui/offset-dialog.c 2002-09-07 16:47:39 +00:00
info-window.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
layers-commands.c app/gui/channels-commands.c app/gui/file-new-dialog.c 2003-03-27 14:25:18 +00:00
layers-commands.h added "undo_desc" parameters. 2003-02-17 13:33:29 +00:00
layers-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
layers-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
Makefile.am added gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
menus.c app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
menus.h app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
module-browser.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
module-browser.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
palette-editor-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-editor-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
palette-editor-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palette-import-dialog.c removed tree_view->preview_border_width. 2003-04-04 21:16: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/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
palette-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
palettes-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
palettes-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
palettes-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
palettes-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
paths-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
paths-dialog.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
pattern-select.c app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] 2003-04-08 12:39:02 +00:00
pattern-select.h removed the "feature" of creating dialogs without action area by passing 2002-11-18 00:04:16 +00:00
patterns-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
patterns-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
plug-in-commands.c added lots of members for the complete state of the plug-ins. 2003-02-11 12:07:31 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
plug-in-menus.h One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
preferences-dialog.c don't try to reparent the children of GtkInputDialog but simply pop up the 2003-04-14 14:15:20 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
qmask-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
qmask-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
qmask-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
qmask-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
resize-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
resize-dialog.h app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
resolution-calibrate-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
select-commands.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
select-commands.h app/gui/menus.c added a menu entry that toggles the QuickMask state and 2002-08-27 13:29:47 +00:00
session.c app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
session.h app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
splash.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
splash.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
templates-commands.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
templates-commands.h invalidate the preview when the stock_id changes. 2003-04-13 16:25:14 +00:00
templates-menu.c invalidate the preview when the stock_id changes. 2003-04-13 16:25:14 +00:00
templates-menu.h added gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
tips-dialog.c Makefile.am removed this header file. 2003-03-25 16:38:19 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
tool-options-dialog.c freeze object notifications around reset() and deserialize() 2003-03-26 13:39:00 +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
toolbox-menu.c reset object properties only if they are GIMP_PARAM_SERIALIZABLE. 2003-04-05 19:56:38 +00:00
toolbox-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
tools-commands.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools-commands.h app/display/gimpdisplayshell-callbacks.[ch] override 2003-02-25 19:12:11 +00:00
user-install-dialog.c etc/Makefile.am added a short templaterc. 2003-04-04 16:38:02 +00:00
user-install-dialog.h added "gboolean verbose" to GimpRc and its constructor. Print messages 2002-11-26 14:54:28 +00:00
vectors-commands.c app/gui/channels-commands.c app/gui/file-new-dialog.c 2003-03-27 14:25:18 +00:00
vectors-commands.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
vectors-menu.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
vectors-menu.h app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] 2003-01-13 14:08:10 +00:00
view-commands.c app/gui/image-menu.c (image_menu_set_zoom) fixed an issue with the new 2003-04-04 13:45:17 +00:00
view-commands.h extended range of possible zoom ratios like in the other scaling routines. 2003-04-04 08:32:51 +00:00