Gimp/app/gui
Michael Natterer 2632cd8f64 app/actions/documents-actions.c app/actions/documents-commands.c
2004-05-12  Michael Natterer  <mitch@gimp.org>

	* app/actions/documents-actions.c
	* app/actions/documents-commands.c
	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]
	* app/actions/layers-actions.c
	* app/actions/layers-commands.c
	* app/actions/select-actions.c
	* app/actions/select-commands.[ch]
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.[ch]: added tooltips for actions
	which are now used for dialog buttons, added callback
	implementations which formerly lived in various widgets, moved
	some actions around and did some general cleanups.

	* menus/image-menu.xml.in: s/edit-stroke/select-stroke/

	* menus/Makefile.am
	* menus/selection-editor-menu.xml: new popup menu.

	* app/menus/menus.c: register <SelectionEditor> and <UndoEditor>
	UI managers.

	* app/widgets/gimpeditor.[ch]: added construct properties
	"menu-factory", "menu-identifier", "ui-path" and "popup-data".
	Implement GObject::constructor() and create the UI manager
	if all needed properties were set. Enables creating action
	buttons at widget construction time because they need a
	UI manager.

	(gimp_editor_add_action_button): changed to take a va_list of
	"extended" actions which are invoked if the resp. button emits
	"extended_clicked". Store the actions and their modifier masks in
	a list attached to the button.

	* app/widgets/gimpcontainerview.c
	(gimp_container_view_item_selected): if the view has container
	*and* context, simply change the context and return.

	(gimp_container_view_context_changed): don't emit "select_item"
	manually but simply call gimp_container_view_select_item().

	(gimp_container_view_viewable_dropped): use
	gimp_container_view_item_selected() instead of changing the
	context directly.

	* app/widgets/gimpcontainereditor.c
	(gimp_container_editor_select_item): update the UI manager.

	* app/widgets/gimpdockable.c: don't try to fiddle with the
	dialog's menu if it doesn't have a ui_path (happens if the UI
	manager is just a collection of actions for the dialog buttons and
	has no menu registered).

	* app/widgets/gimpimageeditor.c: connect to the image's "flush"
	signal and update the UI manager in the callback.

	* app/widgets/gimpitemtreeview.c: use GimpEditor's construct
	properties to create the UI manager so GimpItemTreeView subclasses
	can have action buttons. Update the UI manager in
	gimp_item_tree_view_select_item().

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpfontview.c
	* app/widgets/gimpimageview.c
	* app/widgets/gimptemplateview.c
	* app/widgets/gimptoolview.c: changed calls to
	gimp_editor_add_action_button() accordingly and removed some
	unneeded select_item() implementations.

	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpvectorstreeview.[ch]
	* app/widgets/gimpdocumentview.[ch]
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpselectioneditor.[ch]
	* app/widgets/gimpundoeditor.[ch]: use action buttons and removed
	lots of callbacks which went to the resp. action callbacks.

	* app/widgets/widgets-types.h: removed some now unneeded function
	prototypes.

	* app/gui/dialogs-constructors.c: changed (simplified) many dialog
	constructors accordingly.
2004-05-12 18:36:33 +00:00
..
.cvsignore
about-dialog.c fixed the fix 2004-05-06 14:32:43 +00:00
about-dialog.h
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 libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
brush-select.h reordered parameters so the first four are the same for all 2004-05-05 16:22:18 +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 app/actions/channels-commands.c app/actions/gradient-editor-commands.c 2004-05-04 14:21:13 +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/actions/documents-actions.c app/actions/documents-commands.c 2004-05-12 18:36:33 +00:00
dialogs-constructors.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
dialogs.c configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +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 added help IDs to all actions representing the toplevel popups and menus 2004-05-02 08:56:07 +00:00
file-dialog-utils.h renamed parameters and removed useless #includes. 2004-02-27 14:51:51 +00:00
file-new-dialog.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +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 app/actions/Makefile.am app/actions/file-open-actions.[ch] actions for the 2004-04-29 17:47:53 +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-save-dialog.c added help IDs to all actions representing the toplevel popups and menus 2004-05-02 08:56:07 +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
font-select.c Prepare for making an interface out of GimpContainerView: 2004-05-10 11:08:51 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 if the label_widget is a button, set the button label as bold. Cache the 2004-05-03 15:37:56 +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
gui-vtable.c Enabled multiple menu entries per plug-in procedure: 2004-05-06 13:51:56 +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 configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
gui.h app/Makefile.am new files implementing sanity_check() for run-time 2004-03-30 11:32:21 +00:00
info-dialog.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +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 libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
info-window.h
Makefile.am configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
makefile.msc updated 2004-03-07 23:13:51 +00:00
module-browser.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
module-browser.h
offset-dialog.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +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 libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
palette-import-dialog.h
palette-select.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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
preferences-dialog.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
preferences-dialog.h
resize-dialog.c libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +00:00
resize-dialog.h cleaned up variable names and external API. Still quite a mess. 2004-05-06 13:17:49 +00:00
resolution-calibrate-dialog.c app/actions/channels-commands.c app/actions/gradient-editor-commands.c 2004-05-04 14:21:13 +00:00
resolution-calibrate-dialog.h
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 correctly get the default GimpContainerViewInterface implementation and 2004-05-11 16:01:00 +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 added missing newline in error message. 2004-05-10 17:36:37 +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
user-install-dialog.c removed the "Aborting Installation" page. We added it as a nice little 2004-05-11 12:55:12 +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