1. 18 Mar, 2004 1 commit
  2. 17 Mar, 2004 3 commits
    • Simon Budig's avatar
      app/gui/channels-commands.c app/gui/layers-commands.c · e2d5ed62
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: shuffled some
      	gimp_image_flush()'es around.
      e2d5ed62
    • Simon Budig's avatar
      app/gui/channels-commands.c app/gui/layers-commands.c Make sure that · 23711e13
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c: Make sure that non-dialog creation
      	of layer/channels/vectors properly updates the image. Also
      	clear the new channel unconditionally.
      
      	Change the name of the newly created item to not include the "Copy".
      	It isn't a copy.
      
      	* app/widgets/gimpitemtreeview.c: Don't try to assemble translated
      	strings.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: properly overwrite the
      	tooltip for the "New" button.
      
      	Sorry, some real string changes ahere, but they were necessary.
      23711e13
    • Simon Budig's avatar
      Sort the plugin menu entries with the mnemonics stripped. Avoids weird · bcd96047
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/plug-in-menus.c: Sort the plugin menu entries with
      	the mnemonics stripped. Avoids weird ordering in the "C" and
      	"POSIX" locales.
      
      	* app/widgets/gimpitemtreeview.c: make a simple click on the
      	"New" Button use defaults and use shift-click for the new-dialog
      	invocation.
      
      	Some more useless button cleanup:
      
      	* app/widgets/gimpdatafactoryview.c: only create an Edit button
      	when the edit_function is set.
      
      	* app/core/gimp.c: don't set an edit func for the patterns.
      
      	* app/gui/patterns-menu.c: Don't create the "New", "Edit" and
      	"Duplicate" Menu entries for the patterns.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppatternfactoryview.[ch]: New widget:
      	gimp_pattern_factory_view. Necessary to be able to hide the
      	"duplicate" button...
      
      	* app/gui/dialogs-constructors.c: Use it.
      bcd96047
  3. 16 Mar, 2004 1 commit
    • Simon Budig's avatar
      app/widgets/gimplayertreeview.c app/widgets/gimpvectorstreeview.c remove · 4aef30a5
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpdatafactoryview.c: remove basically useless
      	edit buttons in the layers, vectors and patterns dialog.
      
      	* app/widgets/gimpitemtreeview.c: Make Shift-Click on the "New"
      	button create a new item using defaults.
      4aef30a5
  4. 01 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Disallow to rename the layer mask. Instead, always name the mask "<layer · 82276ada
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	Disallow to rename the layer mask. Instead, always name the mask
      	"<layer name> mask". Fixes bug #133112 along with some other
      	unreported ones.
      
      	* app/core/gimpitem.[ch]: added a boolean return value indicating
      	success to GimpItem::rename().
      
      	(gimp_item_real_rename): push an undo step only if the item is
      	attached.
      
      	* app/core/gimplayer.c (gimp_layer_rename): refuse renaming if
      	the layer is a floating selection floated from a channel
      	(renaming a layer's floating selection makes a new layer out
      	of the floating selection).
      
      	(gimp_layer_duplicate): use gimp_layer_add_mask() to attach the
      	mask's duplicate. Fixes mask refcount brokenness for duplicated
      	layer masks.
      
      	(gimp_layer_name_changed): new function. Automatically renames the
      	layer mask when the layer's name changes.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_rename): new function
      	which refuses renaming.
      
      	(gimp_layer_mask_name_changed): skip the unique name voodoo
      	GimpItem does by not chaining up.
      
      	(gimp_layer_mask_set_layer): change the mask's name whenever it is
      	attached to a layer.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_rename): fiddle with
      	text_layer->auto_rename only if renaming was successful.
      
      	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
      	restore the old name if renaming failed.
      
      	* tools/pdbgen/pdb/drawable.pdb (set_name): return an execution
      	error if renaming failed.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      82276ada
  5. 21 Dec, 2003 2 commits
  6. 14 Nov, 2003 1 commit
  7. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · b62f8e9a
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	To be multihead safe, each new window or menu needs to be
      	associated with a GdkScreen or it will pop up on the default
      	screen.
      
      	* libgimpwidgets/gimpquerybox.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/edit-commands.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/templates-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
      	paramaters to all functions which create menus, popups or windows
      	and pass "parent" to gimp_dialog_new() or one of the various
      	wrappers around it. As a side effect, this fixes bug #61092.
      
      	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
      	instead of "parent" here since there are no possible parent
      	windows on startup.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_button_press): added a quick hack to
      	send a display to another screen: click the origin button with the
      	middle mouse button.
      
      	* app/display/gimpdisplayshell.c
      	(gimp_display_shell_screen_changed): don't chain up
      	undonditionally (don't crash).
      
      	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
      	dialog's screen from a non-GtkWidget parent widget. The rest of
      	non-window parent widget handling is still unimplemented.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/module-browser.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      b62f8e9a
  8. 18 Oct, 2003 1 commit
    • Michael Natterer's avatar
      need to set docked_iface->get_preview to NULL explicitly now that the · 2e9f3fb9
      Michael Natterer authored
      2003-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c
      	(gimp_item_tree_view_docked_iface_init): need to set
      	docked_iface->get_preview to NULL explicitly now that the
      	interface vtable inheriting is fixed (the layers, channels and
      	paths dialogs can't show preview tabs because they don't always
      	have a container).
      
      	* app/widgets/gimpimagedock.c (gimp_image_dock_get_aux_info):
      	fixed typo: s/auctive/active/. Added #defines for the magic
      	aux-info identifiers to avoid bugs like that.
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimppaletteeditor.c. addef #defines for aux-info
      	identifiers here, too.
      2e9f3fb9
  9. 12 Oct, 2003 1 commit
  10. 11 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  11. 10 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new files implementing · 99746e1d
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdocked.[ch]: new files implementing
      	GimpDockedInterface, a GTypeInterface which must be implemented by
      	all widgets which want to be packed into a GimpDockable. Has
      	virtual functions similar to the ones GimpDockable had.
      
      	* app/widgets/gimpdockable.[ch]: removed all virtual functions and
      	all function pointers from the instance struct (also the ones just
      	added in the commit below). Make sure only widgets implementing
      	the GimpDockedIface are added and simply call the child's
      	GimpDocked functions where we used to call our own virtual
      	functions and function pointers.
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/display/gimpnavigationview.c: implement GimpDockedIface.
      
      	* app/gui/dialogs-constructors.c: removed all that get_preview_func(),
      	set_context_func() etc. cruft since that's done by GimpDockedIface.
      	It's really a file of constructors now.
      
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/widgets/gimpimagedock.c: forgotten in the commit below.
      99746e1d
  12. 17 Sep, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpdatafactoryview.[ch] app/widgets/gimpitemtreeview.[ch] · 5ebce856
      Michael Natterer authored
      2003-09-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptemplateview.[ch]: order the button boxes in
      	these dialogs like the entries their popup menus: The default
      	(double click) action is the first menu entry / button. In an
      	attack of consistency, also reordered functions and function
      	parameters all over the place to match the new order.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/gui/dialogs-constructors.c: changed accordingly.
      5ebce856
  13. 15 Sep, 2003 1 commit
  14. 12 Sep, 2003 1 commit
    • Sven Neumann's avatar
      moved the visibility toggle before the linked toggle again. · 47257498
      Sven Neumann authored
      2003-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c: moved the visibility toggle
      	before the linked toggle again.
      
      	* app/core/gimpdrawable.c (gimp_drawable_configure)
      	* app/core/gimpitem.c (gimp_item_init): quick fix for bug #122153:
      	don't make the item visible in gimp_drawable_configure() since that
      	breaks duplicate(); instead create all items as visible.
      47257498
  15. 11 Sep, 2003 1 commit
    • Michael Natterer's avatar
      removed "visible" and all its API... · 7cf4eb46
      Michael Natterer authored
      2003-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed "visible" and all its API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed the drawable
      	visibility undo to be an item visibility undo.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
      	and layer loading/saving accordingly.
      
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/text/gimptextlayer.c
      	* app/gui/channels-commands.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
      
      	* app/widgets/gimpitemtreeview.[ch]: ...and added it here.
      7cf4eb46
  16. 27 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Enabled type-preserving DND of all kinds of items between different · c4dfccd8
      Michael Natterer authored
      2003-08-27  Michael Natterer  <mitch@gimp.org>
      
      	Enabled type-preserving DND of all kinds of items between
      	different images. Fixes bug #119983.
      
      	* app/core/gimpitem.[ch]: added new virtual function
      	GimpItem::convert() which duplicates an item for another image.
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
      	and made it a GimpItem::convert() implementation.
      
      	* app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
      	made it a GimpItem::convert() implementation.
      
      	* app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
      	typedef and function pointer in GimpItemTreeViewClass since
      	we can simply call gimp_item_convert() now.
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/display/gimpdisplayshell-dnd.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      c4dfccd8
  17. 24 Aug, 2003 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-filter-dialog.c · 61122751
      Michael Natterer authored
      2003-08-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/dialogs-menu.c
      	* app/gui/documents-menu.c
      	* app/gui/error-console-menu.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-editor-menu.c
      	* app/gui/image-menu.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimphelp-ids.h: added and updated more help IDs.
      61122751
  18. 02 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added GimpMenuPositionFunc typedef. · 69539fc5
      Michael Natterer authored
      2003-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: added GimpMenuPositionFunc typedef.
      
      	* app/widgets/gimpwidgets-utils.[ch]: made gimp_menu_position()
      	a GimpMenuPositionFunc.
      
      	* app/widgets/gimpitemfactory.[ch]
      	(gimp_item_factory_popup_with_data): added position_func and
      	position_data parameters. Use gimp_menu_position() if no
      	position_func is given.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed
      	gimp_display_shell_origin_menu_popup() and call
      	gimp_item_factory_popup_with_data() directly from
      	gimp_display_shell_popup_menu(), using
      	gimp_display_shell_origin_menu_position() as position_func.
      
      	* app/widgets/gimpeditor.[ch]: added a GtkWidget::popup_menu()
      	implementation so all context menus are keyboard accessible.
      	Added "gpointer factory_data" member so the menu can be popped up
      	in the right context.
      
      	* app/gui/channels-menu.c
      	* app/gui/layers-menu.c
      	* app/gui/vectors-menu.c: make them work without an active image
      	since they can be popped up at any time now.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: cleanup.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c: pass NULL, NULL as
      	position_func and position_data so the default implementation is
      	used.
      69539fc5
  19. 18 May, 2003 1 commit
    • Michael Natterer's avatar
      added BOOLEAN: OBJECT, POINTER. · 256701f6
      Michael Natterer authored
      2003-05-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpmarshal.list: added BOOLEAN: OBJECT, POINTER.
      
      	* app/widgets/gimpcontainerview.[ch]: added a boolean return
      	value to GimpContainerView::select_item() which indicates if
      	the select operation was successful.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly.
      
      	* app/widgets/gimpdrawabletreeview.c: ditto. Removed the
      	tree_view's select_function because it was only constraining the
      	widget, not the underlying select operation. Instead, implement
      	GimpContainerView::select_item() and disallow anything but the
      	floating selection to be selected. Also re-enabled the
      	"floating_selection_changed" callback and explicitely set the
      	active item so the button states get updated. Fixes bug #112487.
      256701f6
  20. 08 May, 2003 1 commit
    • Michael Natterer's avatar
      removed "linked" member and API... · 33b7d779
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: removed "linked" member and API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed layer_linked undo
      	types and functions to be item_linked ones.
      
      	* app/tools/gimpeditselectiontool.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimplayertreeview.[ch]: removed "linked" icon and
      	functions...
      
      	* app/widgets/gimpitemtreeview.[ch]: and added them here. Setting
      	channels or vectors to "linked" does nothing yet.
      33b7d779
  21. 08 Apr, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] · f20e559b
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]: removed "min_item_x" and
      	"min_item_y" parameters all over the place. Added
      	"preview_border_width" instead.
      
      	* app/widgets/gimpmenuitem.c: ensure that all menu items have the
      	same height.
      
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpundoeditor.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: removed the borders from the tool
      	and template lists.
      f20e559b
  22. 01 Apr, 2003 1 commit
    • Michael Natterer's avatar
      #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE here. · fdb7265a
      Michael Natterer authored
      2003-04-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.h: #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE
      	here.
      
      	* app/widgets/gimppreview.h
      	* app/widgets/gimppreviewrenderer.h: removed the #defines here.
      
      	* app/core/gimpviewable.c (gimp_preview_get[_popup]_size): check
      	the return values to be within bounds.
      
      	* app/text/gimpfont.c
      	* app/display/gimpdisplayshell-render.c: use the new constant
      	instead of the magic "1024".
      
      	* app/core/gimpdrawable-preview.c: #include our own header file.
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppreviewrenderer.c: changed accordingly.
      fdb7265a
  23. 26 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added gimp_container_view_construct(). The new function calls · bda4188a
      Michael Natterer authored
      2003-03-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerview.[ch]: added
      	gimp_container_view_construct(). The new function calls
      	gimp_container_view_set_preview_size() instead of simply assigning
      	view->preview_size (Fixes wrongly-sized toggle cells spotted by
      	Jimmac).
      
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpitemtreeview.c: call when creating a view.
      
      	* app/widgets/gimpchanneltreeview.c: check view->component_editor
      	for being non-NULL before accessing it.
      bda4188a
  24. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  25. 22 Mar, 2003 1 commit
    • Michael Natterer's avatar
      allow to create a GimpContainerEditor without a popup menu. · d1c99bee
      Michael Natterer authored
      2003-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainereditor.c: allow to create a
      	GimpContainerEditor without a popup menu.
      
      	* app/widgets/gimpcellrendererviewable.c: free the event we
      	got from gdk_get_current_event().
      
      	* app/widgets/gimpcontainerview.c: check view->hash_table for
      	being non-NULL before using it. Be prepared to be destroyed by as
      	a result of calling gimp_context_set_foo(view->context, foo).
      
      	* app/widgets/gimpcontainertreeview.[ch]: added
      	tree_view->editable_cells and handle *all* mouse clicks in
      	gimp_container_tree_view_button_press() (by returning TRUE). Start
      	editing on double-click only. Use gtk_tree_view_set_cursor()
      	instead of gtk_tree_selection_select_path() to avoid
      	selected/focus confusion when the focus enters the widget. Be
      	prepeared to be destroyed as a result of item selection.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerpopup.[ch]: new GtkWindow derived
      	widget which pops up a selection of any GimpContainer/GimpContext
      	combo.
      
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemtreeview.c: add the name cell to
      	tree_view->editable_cells so it becomes editable.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/paint_options.c: use the new container popup for
      	selecting brushes and gradients.
      d1c99bee
  26. 21 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added a GimpItemFactory to the GimpEditor struct. Added · 7f613b47
      Michael Natterer authored
      2003-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpeditor.[ch]: added a GimpItemFactory to the
      	GimpEditor struct. Added gimp_editor_create_menu().
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcomponenteditor.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: removed item_factory pointers
      	and lots of inalizers which just unref'ed the item_factory.  Use
      	gimp_editor_create_menu() instead.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      7f613b47
  27. 19 Mar, 2003 2 commits
    • Michael Natterer's avatar
      need to connect to the cell renderer's "clicked" signal because "toggled" · 43accc1d
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcomponenteditor.c: need to connect to the cell
      	renderer's "clicked" signal because "toggled" is not emitted any
      	longer.
      
      	* app/widgets/gimpdrawabletreeview.c: removed debugging output.
      
      	* app/widgets/gimpitemtreeview.[ch]: added "const gchar *reorder_desc"
      	to the class scruct and use it as undo_desc for DND reordering.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: set reorder_desc.
      43accc1d
    • Michael Natterer's avatar
      app/widgets/gimpcellrenderertoggle.[ch] added public functions to emit the · 0b401af4
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.[ch]
      	* app/widgets/gimpcellrendererviewable.[ch]: added public
      	functions to emit the "clicked" signal.
      
      	* app/widgets/gimpcontainertreeview.c: use them instead of
      	g_signal_emit_by_name().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: new files
      	implementing DND for tree views.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual
      	functions drop_possible() and drop().
      
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c: implement drop_possible()
      	and drop().
      0b401af4
  28. 17 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added virtual function rename() which pushes an item rename undo. Added · 418c5997
      Michael Natterer authored
      2003-03-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added virtual function rename() which
      	pushes an item rename undo. Added "default_name" and "rename_desc"
      	to the GimpItemClass struct which are used as default values.
      
      	* app/core/gimplayer.c: implement it and special-case floating
      	selections. set item_clas->default_name and item_class->rename_desc.
      
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: set item_class->default_name and
      	item_class->rename_desc.
      
      	* app/widgets/gimpitemtreeview.[ch]: removed rename_item() virtual
      	function and call gimp_item_rename().
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly.
      418c5997
  29. 16 Mar, 2003 2 commits
    • Michael Natterer's avatar
      added utility function gimp_container_tree_view_find_click_cell(). Don't · 8c9c5a20
      Michael Natterer authored
      2003-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.[ch]: added utility function
      	gimp_container_tree_view_find_click_cell(). Don't select the
      	row if one of tree_view->toggle_cells was clicked. Removed
      	"GList *toggle_columns" from the struct.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: added a
      	GtkTreeSelectionFunc which ensures that nothing but the floating
      	selection can be selected. Removed the "eye_column" from the
      	struct.
      
      	* app/widgets/gimpitemtreeview.[ch]: added virtual function
      	rename_item() and a default implementation.
      
      	* app/widgets/gimplayertreeview.[ch]: implement rename_item() and
      	special case floating selections. Added
      	gimp_layer_tree_view_mask_update() utility function to factor out
      	duplicated code. Removed "chain_column" from the struct. Cleanup.
      8c9c5a20
    • Michael Natterer's avatar
      Added GtkTreeView versions of layers/channels/vectors: · 205cdf13
      Michael Natterer authored
      2003-03-16  Michael Natterer  <mitch@gimp.org>
      
      	Added GtkTreeView versions of layers/channels/vectors:
      
      	* app/core/core-enums.[ch]: renamed GIMP_UNDO_GROUP_LAYER_PROPERTIES
      	to GIMP_UNDO_GROUP_ITEM_PROPERTIES.
      
      	* app/core/gimpcontainer.c (gimp_container_reorder): don't try
      	to reorder containers with num_children == 1.
      
      	* app/core/gimpmarshal.list: added VOID: STRING, UINT marshaller.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchanneltreeview.[ch]
      	* app/widgets/gimpdrawabletreeview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.[ch]
      	* app/widgets/gimpvectorstreeview.[ch]: new widgets.
      
      	* app/widgets/gimpcellrenderertoggle.c: draw the frame only if the
      	cell is prelit.
      
      	* app/widgets/gimpcellrendererviewable.[ch]: added "clicked"
      	signal, unref the renderer in finalize(). Set the renderer's
      	border color to black if the cell is not selected (a hack that
      	saves tons of code in GimpLayerTreeView).
      
      	* app/widgets/gimpcomponenteditor.c: no need to gtk_list_store_set()
      	stuff we just got from the store.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added lots of state used
      	by the new subclasses to the GimpContainerTreeView struct.  Create
      	the GtkListStore/GtkTreeView in GObject::constructor() and only
      	collect parameters in init() so subclasses can modify store/view
      	creation. Do most of the button_press_event stuff manually and
      	return TRUE from the handler.
      
      	* app/widgets/gimpcontainerview.c: cleanup.
      
      	* app/widgets/gimpitemlistview.h
      	* app/widgets/gimpvectorslistview.h: temp hacks before they die.
      
      	* app/widgets/gimppreviewrenderer.[ch]: added
      	gimp_preview_renderer_update_idle() which idle-emits "update"
      	without invalidating.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added constructors for the new dialogs.
      
      	* app/gui/channels-commands.c
      	* app/gui/channels-menu.c
      	* app/gui/layers-commands.c
      	* app/gui/layers-menu.c
      	* app/gui/vectors-commands.c
      	* app/gui/vectors-menu.c: accept tree views as callback data.
      205cdf13
  30. 12 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added descriptions to the GimpChannelType enum. · f2ca2574
      Michael Natterer authored
      2003-03-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added descriptions to the
      	GimpChannelType enum.
      
      	* app/core/gimpimage.[ch]: added gimp_image_get_component_index()
      	utility function which does the GIMP_RED_CHANNEL -> RED_PIX etc.
      	mapping. Use it in all component getters/setters.
      
      	* app/widgets/gimpcomponenteditor.[ch]: new widget implementing
      	the component list using GtkListStore/GtkTreeView. Still a bit
      	ugly because it uses the standard check instead of the eye icon.
      
      	* app/widgets/gimpcomponentlistitem.[ch]: removed.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpvectorslistview.c: changed accordingly.
      
      	* app/widgets/gimpchannellistview.[ch]: create a GimpComponentEditor
      	and removed the old GtkList based stuff.
      
      	* app/widgets/gimpitemlistview.[ch]: keep around a pointer to the
      	GimpMenuFactory passed to the constructor.
      
      	* app/gui/channels-menu.c (channels_menu_update): do the right
      	thing if "data" is a GimpComponentEditor.
      
      	* app/gui/channels-commands.[ch]: ditto. Implemented duplicating
      	of components and component to selection (bug #61018).
      f2ca2574
  31. 17 Feb, 2003 1 commit
    • Michael Natterer's avatar
      added "undo_desc" parameters. · fefaa309
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (gimp_image_position_*): added
      	"undo_desc" parameters.
      
      	* app/core/gimpimage-undo-push.c: changed accordingly.
      
      	* app/widgets/gimpitemlistview.[ch]: moved the item stack
      	manipulation function pointers from the instance to the class
      	struct. Added lots of descriptive strings to be used by tooltips
      	and undo steps.
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimplayerlistview.[ch]
      	* app/widgets/gimpvectorslistview.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/layers-commands.[ch]
      	* app/gui/vectors-commands.c: changed accordingly. Cleanup.
      fefaa309
  32. 11 Feb, 2003 1 commit
    • Michael Natterer's avatar
      added new virtual function duplicate() as replacement for all · 436ed648
      Michael Natterer authored
      2003-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added new virtual function duplicate()
      	as replacement for all gimp_*_copy() functions.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]
      	* app/vectors/gimpvectors.[ch]: replaced public copy() functions
      	by duplicate() implementations.
      
      	* app/text/gimptextlayer.c: added a duplicate() implementation.
      
      	* app/widgets/gimpitemlistview.[ch]: removed the "copy_item_func"
      	and simply call gimp_item_duplicate().
      
      	* app/undo.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-qmask.c
      	* app/gui/channels-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      436ed648
  33. 12 Jan, 2003 1 commit
    • Michael Natterer's avatar
      pass the GimpItemListView as "data" to the item_factory callbacks, not · f44500aa
      Michael Natterer authored
      2003-01-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemlistview.c: pass the GimpItemListView as
      	"data" to the item_factory callbacks, not just a "Gimp" pointer.
      
      	* app/display/gimpdisplayshell.c: use
      	gtk_window_add_accel_group(), not gimp_window_add_accel_group()
      	because we now attach the menubar's accel group, which has the
      	GimpDisplay as callback data.
      
      	* app/display/gimpdisplayshell-callbacks.c: pass the GimpDisplay
      	as "popup_data" to *_item_factory_popup_with_data().
      
      	* app/gui/channels-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c: changed accordingly.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed
      	gimp_window_[add|remove]_accel_group() and
      	gimp_widget_get_callback_context() because they were evil hacks
      	which are no longer needed now that all item_factories have proper
      	callback data (no just Gimp pointers).
      f44500aa
  34. 10 Jan, 2003 1 commit
    • Michael Natterer's avatar
      Move away from creating all item_factories statically in menus_init() but · 8d86ec25
      Michael Natterer authored
      2003-01-10  Michael Natterer  <mitch@gimp.org>
      
      	Move away from creating all item_factories statically in
      	menus_init() but create a new one for each place where one is
      	needed:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpmenufactory.[ch]: new factory which creates and
      	configures the GimpItemFactories it knows about on-the-fly.
      
      	* app/widgets/gimpitemfactory.[ch]: added
      	gimp_item_factory_update() which calls the "update_func". Added
      	"gboolean update_on_popup" so item_factories can be configured to
      	require manual updates (used for the <Image> factory).
      
      	* app/gui/menus.[ch]: create a "global_menu_factory" and register
      	all menus we have with it. Added various setup functions which
      	do stuff like adding the "Open Recent" menu or reorder plug-in
      	menu entries. Removed the debugging stuff...
      
      	* app/gui/Makefile.am
      	* app/gui/debug-commands.[ch]: ...and added it here.
      
      	* app/gui/gui.c: create the <Toolbox>, the popup-<Image> and the
      	<Paths> factories here because they are still global.
      
      	* app/gui/plug-in-menus.[ch]: changed the "image_factory"
      	parameters to "item_factory" and create/update the entries for the
      	passed item_factory only. Makes the whole stuff much more
      	straightforward.
      
      	* app/plug-in/plug-ins.c: don't call plug_in_make_menu().
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: added "menu_factory" and
      	"popup_factory" parameters to gimp_display_new() and
      	gimp_display_shell_new(). Create the menubar_factory and the
      	qmask_factory dynamically. Pass the shell, not a Gimp to the QMask
      	callbacks. Changed gimp_display_shell_set_menu_sensitivity() to
      	gimp_display_shell_menu_update() and don't call it directly (it's
      	a GimpItemFactory update_func now). Call gimp_item_factory_update()
      	on the resp. factories instead.
      
      	* app/gui/qmask-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/tools/gimpimagemaptool.c: changed accordingly.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemlistview.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: pass around lots of
      	GimpMenuFactory pointers and menu_identifiers so all views can
      	create their item_factories themselves. Unref the factories when
      	they are no longer needed because they belong to the views now.
      
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      
      	* app/gui/file-dialog-utils.[ch] (file_dialog_new): require
      	menu_factory and menu_identifier parameters.
      
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: removed file_*_dialog_menu_init()
      	(they went to menus.c as setup_funcs). Added file_*_dialog_set_type()
      	and moved the <Load> and <Save> factory callbacks to file-commands.c
      
      	* app/gui/file-commands.[ch]: changed accordingly.
      
      	* app/gui/view-commands.c: changed the statusbar, menubar, rulers
      	and guides callbacks to do their job only if the setting has
      	actually changed. Don't update whole item factories afterwards.
      	Instead, just change the state of the items that actually need
      	update.
      
      	Unrelated:
      
      	* app/core/gimpchannel.c (gimp_channel_init): set "bounds_known"
      	and friends to FALSE since we don't know that the new channel will
      	be empty (fixes QMask and probably other stuff).
      
      	* app/gui/image-commands.c
      	* app/gui/vectors-commands.c: cleanup.
      8d86ec25
  35. 05 Jan, 2003 1 commit