1. 11 May, 2005 1 commit
    • Michael Natterer's avatar
      Some dock refactoring which separates the docking logic from active image · 1f1305c3
      Michael Natterer authored
      2005-05-11  Michael Natterer  <mitch@gimp.org>
      
      	Some dock refactoring which separates the docking logic from
      	active image and UI manager stuff:
      
      	* app/widgets/gimpmenudock.[ch]: new widget renamed from
      	GimpImageDock, zero changes except the name change.
      
      	* app/widgets/gimpimagedock.[ch]: new widget derived from
      	GimpDock. Keeps the UI manager.
      
      	* app/widgets/gimpdock.[ch]: removed the UI manager. GimpDock only
      	contains the basic docking logic again.
      
      	* app/widgets/gimpmenudock.[ch]
      	* app/widgets/gimptoolbox.[ch]: derive them from GimpImageDock.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/actions/dialogs-commands.c
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.c
      	* app/actions/dockable-commands.c
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      1f1305c3
  2. 03 Apr, 2005 2 commits
    • Michael Natterer's avatar
      fixed spacings and update them in GtkWidget::style_set(). Removed lots of · ff1e1ba2
      Michael Natterer authored
      2005-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcursorview.[ch]: fixed spacings and update them
      	in GtkWidget::style_set(). Removed lots of cruft from the widget
      	this files were copied from, including the GimpContext param
      	to gimp_cursor_view_new(). Remember the state of the two color
      	frames as aux-info in sessionrc.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      ff1e1ba2
    • Michael Natterer's avatar
      added new signals "sample-point-added" and "sample-point-removed" and · 0231374c
      Michael Natterer authored
      2005-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added new signals "sample-point-added"
      	and "sample-point-removed" and public functions to emit them.
      
      	* app/core/gimpimage-sample-points.c (gimp_image_add_sample_point)
      	(gimp_image_remove_sample_point): emit them accordingly.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_image_sample_point):
      	ditto.
      
      	(undo_pop_image_guide)
      	(undo_pop_image_sample_point): added comments why we add/remove
      	stuff manually instead of using the GimpImage APIs.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcursorview.[ch]
      	* app/widgets/gimpsamplepointeditor.[ch]: new widgets.
      	GimpCursorView is a replacement for the info window's "Cursor"
      	page, GimpSamplePointEditor is a view on an image's sample points.
      	The sample point editor does nothing yet except keeping a 2x2 grid
      	of GimpColorFrames. Addresses bug #137776.
      
      	* app/dialogs/dialogs.c
      	* app/dialogs/dialogs-constructors.[ch]: register the new widgets
      	as dockable dialogs.
      
      	* app/actions/dialogs-actions.c (dialogs_dockable_actions)
      	* menus/dialogs-menuitems.xml: added actions and menu items for
      	the new dialogs.
      
      	* app/display/gimpdisplayshell-cursor.c
      	(gimp_display_shell_update_cursor)
      	(gimp_display_shell_clear_cursor): update the new cursor view.
      
      	* app/widgets/gimphelp-ids.h: help IDs for the new dialogs.
      
      	* app/widgets/widgets-enums.[ch] (enum GimpColorFrameMode):
      	changed description "Pixel values" to "Pixel" because the former
      	was too long.
      0231374c
  3. 16 Oct, 2004 3 commits
    • Michael Natterer's avatar
      should save before comitting... · 9f6c4515
      Michael Natterer authored
      9f6c4515
    • Michael Natterer's avatar
      moved "item_type" and "signal_name" from GimpItemTreeView to · c84475c9
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemtreeview.[ch]: moved "item_type" and
      	"signal_name" from GimpItemTreeView to GimpItemTreeViewClass.
      	Removed them from gimp_item_tree_view_new(). Require the view_type
      	instead of item_type in gimp_item_tree_view_new().
      
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpdrawabletreeview.c (get_type): made them
      	abstract base classes.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c (class_init): set the
      	item_type and signal_name members if GimpItemTreeViewClass.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      c84475c9
    • Michael Natterer's avatar
      Ported the layers, channels and paths dialogs from · 8effb0cf
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	Ported the layers, channels and paths dialogs from
      	gimp_editor_add_button() to gimp_editor_add_action_button(),
      	removing a massive amount of duplicated code, sensitivity logic
      	and confusing utility functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added "foo-new-default"
      	actions and callbacks which create items without a dialog,
      	optionally using default values from a passed template. Removed
      	all public utility function that were passed as function pointers
      	to widget construtors. Added tooltips to all actions which are now
      	used for dialog buttons.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button):
      	automatically create multi-line tooltips showing the modifiers for
      	extended action buttons. Removes the need for lots of insane
      	format strings that need to be translated correctly.
      
      	* app/widgets/gimpitemtreeview.[ch] (struct GimpItemTreeViewClass):
      	replaced tooltip and help_id strings by action names.
      
      	(struct GimpItemTreeView)
      	(gimp_item_tree_view_new): removed "edit", "new" and "activate"
      	function pointers.
      
      	(gimp_item_tree_view_constructor): create all buttons
      	with gimp_editor_add_action_button(), using the action names
      	from GimpItemTreeViewClass.
      
      	Removed tons of "clicked" callbacks and all code which sets the
      	buttons' sensitivity. They are not needed any longer.
      
      	Require all subclasses to implement GimpItemTreeView::new_item(),
      	a new virtual function which creates a plain new item without
      	showing a dialog.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: fill in the action names and
      	implement GimpItemTreeView::new_item(). Removed all button
      	sensitivity logic.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Doesn't
      	include anything from actions/ any more.
      8effb0cf
  4. 27 Sep, 2004 2 commits
    • Michael Natterer's avatar
      app/actions/brushes-actions.c app/actions/gradients-actions.c · 96a27b59
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c: made the "foo-edit" actions
      	GimpStringActions and pass the identifier of the editor dialog
      	to the callback.
      
      	* app/actions/data-commands.[ch] (data_edit_data_cmd_callback):
      	show the editor dialog here instead of calling view->edit_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: removed the brush,
      	gradient and palette edit_funcs.
      
      	* app/widgets/widgets-types.h: removed typedef GimpDataEditFunc.
      
      	* app/widgets/gimpdatafactoryview.[ch]: removed the edit_func
      	member and parameters and create the edit button unconditionally.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimppatternfactoryview.[ch]: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdataselect.[ch]: removed this class, it's not
      	needed any longer.
      
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]: derive them from GimpPdbDialog
      	and follow the edit_func removal.
      
      	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed edit_func
      	stuff.
      
      	* app/widgets/gimpcontainereditor.c: minor unrelated cleanup.
      96a27b59
    • Michael Natterer's avatar
      renamed some constructors for consistency and added a (useless) template · f097d886
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialogs-constrcutors.[ch]: renamed some constructors
      	for consistency and added a (useless) template grid.
      
      	* app/dialogs/dialogs.c: make the arrays of GimpDialogFactoryEntries
      	more readable by using macros to define them.
      f097d886
  5. 26 Sep, 2004 3 commits
    • Sven Neumann's avatar
      removed conversion to TempBuf. Instead implement · ab269fc6
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: removed conversion to TempBuf.
      	Instead implement GimpViewable::get_new_pixbuf by compositing the
      	thumbnail on a checkerboard.
      
      	* app/widgets/gimpviewrenderer.[ch]: renamed the no_view_pixbuf
      	struct member to pixbuf.
      	(gimp_view_renderer_real_render): try gimp_viewable_get_pixbuf()
      	and render the pixbuf before falling back to the TempBuf preview.
      	(gimp_view_renderer_render_pixbuf): new function that sets a
      	pixbuf for the renderer and flushes the render_buffer.
      
      	* app/widgets/gimpviewrendererimagefile.c
      	(gimp_view_renderer_imagefile_render): render the pixbuf.
      
      	* app/dialogs/dialogs-constructors.c: create the document history
      	dockable with a zero borderwidth.
      ab269fc6
    • Michael Natterer's avatar
      added "name", "blurb", "stock_id" and "help_id" to struct · 6a50c270
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added "name", "blurb",
      	"stock_id" and "help_id" to struct GimpDialogFactoryEntry and to
      	gimp_dialog_factory_dialog_register(). Added typedef
      	GimpDialogConstructor which takes a GimpDialogFactoryEntry in
      	addition to the parameters GimpDialogNewFunc takes. Added a
      	constructor function pointer to GimpDialogFactory which defaults
      	to a function that just returns entry->new_func(). Use that
      	constructor instead of entry->new_func() for creating
      	dialogs. Added public API gimp_dialog_factory_set_constructor().
      
      	* app/dialogs/dialogs.c: register name, blurb, stock_id and
      	help_id for all dockables so all the dialog info lives in one huge
      	ugly table now. For the global_toolbox_factory and the
      	global_dock_factory, set a constructor which creates a dockable
      	around the widget returned by entry->new_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: don't create the dockable
      	in each dialog constructor. Removes tons of code and reduces most
      	constructors to a "return gimp_foo_new(...)" one-liner. Got rid of
      	all static variables, they were from a time when GimpDialogFactory
      	was unable to manage singletons.
      
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: return GtkWidget, not
      	GimpDataEditor from gimp_foo_editor_new().
      
      	* app/widgets/gimpdataeditor.c: minor cleanups.
      6a50c270
    • Michael Natterer's avatar
      Ported GimpNavigationView to use actions for its buttons: · b4ea222c
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Ported GimpNavigationView to use actions for its buttons:
      
      	* app/menus/menus.c (menus_init): register a <GimpNaviagaionEditor>
      	UI manager containing the "view" action group.
      
      	* app/actions/actions.c (action_data_get_foo): handle "data" being
      	a GimpNavigationEditor.
      
      	* app/actions/view-actions.c (view_actions): added tooltips for
      	the actions used in the editor.
      
      	(view_actions_update): use action_data_get_display() instead of
      	checking the type of "data" manually.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): use
      	a GtkToggleButton instead of GimpButton for GtkToggleActions.
      
      	* app/display/gimpnavigationeditor.[ch]: added a GimpMenuFactory
      	parameter to the public constructor and removed all other
      	parameters. Simplified gimp_navigation_editor_new_private() and
      	use gimp_editor_add_action_button() instead of just add_button()
      	for creating the buttons. Made gimp_navigation_view_set_shell()
      	private. Update the UI manager when the shell zooms or scrolls.
      
      	* app/dialogs/dialogs-constructors.c (dialogs_navigation_view_new):
      	pass the menu_factory to gimp_navigation_editor_new().
      
      	Removed #includes which are not needed any more.
      b4ea222c
  6. 25 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcolormapeditor.[ch] app/widgets/gimphistogrameditor.[ch] · 28f7c94d
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimphistogrameditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]: removed redundant "gimage"
      	parameters from public constructors. They are all GimpImageEditor
      	widgets which get their image via gimp_docked_set_context() and
      	gimp_image_editor_set_image() later anyway. Fixes uglyness as well
      	as problems where the editors had an image but no context, causing
      	strange behavior in their foo_actions_update() functions.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Removed
      	redundant calls to gimp_dockable_set_context() on newly created
      	dockables because they will get a context when added to their
      	containers.
      28f7c94d
  7. 20 Sep, 2004 1 commit
  8. 13 Sep, 2004 4 commits
    • Sven Neumann's avatar
      app/dialogs/dialogs-constructors.[ch] app/dialogs/dialogs.c let the dialog · d6c48300
      Sven Neumann authored
      2004-09-14  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/gui/gui.c: let the dialog factory handle the quit dialog
      	as singleton. Fixes bug #151914.
      
      	* app/dialogs/quit-dialog.c: added a warning here. We need a
      	container of dirty images for the above change to work correctly.
      d6c48300
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed these files. · 582a0966
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/file-dialog-utils.[ch]: removed these files.
      
      	* app/dialogs/file-save-dialog.[ch]: removed functions
      	file_save_dialog_show() and file_save_a_copy_dialog_show() and
      	changed internal function file_save_dialog_create() to
      	file_save_dialog_new().
      
      	* app/dialogs/dialogs.c
      	* app/dialogs/dialogs-constructors.[ch]: made it completely
      	managed by the dialog factory.
      
      	* app/actions/file-commands.c: create it using the dialog
      	factory. Attach it to the image so we open only one save
      	dialog per image.
      
      	* app/dialogs/file-open-dialog.c: added precondition checks
      	to file_open_dialog_new().
      582a0966
    • Michael Natterer's avatar
      removed function file_open_dialog_show() and changed internal function · 593e98c6
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/file-open-dialog.[ch]: removed function
      	file_open_dialog_show() and changed internal function
      	file_open_dialog_create() to file_open_dialog_new().
      
      	* app/dialogs/dialogs.c
      	* app/dialogs/dialogs-constructors.[ch]: made it completely
      	managed by the dialog factory.
      
      	* app/actions/file-commands.c: create it using the dialog factory.
      593e98c6
    • Michael Natterer's avatar
      configure.in added new directory app/dialogs and link libappdialogs.c into · 7d065360
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/dialogs and link
      	libappdialogs.c into the gimp binary.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      
      	* app/gui/about-dialog.[ch]
      	* app/gui/authors.h
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.[ch]
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-open-location-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/quit-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/resolution-calibrate-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/tips-dialog.[ch]
      	* app/gui/tips-parser.[ch]
      	* app/gui/user-install-dialog.[ch]: removed these files...
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/dialogs-types.h
      
      	* app/dialogs/*.[ch]: ...and added them here. Changed some
      	filenames like module-browser -> module-dialog.
      
      	* app/app_procs.c
      	* app/actions/actions-types.h
      	* app/actions/actions.c
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/templates-commands.h
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* menus/toolbox-menu.xml.in
      	* tools/authorsgen/authorsgen.pl: changed accordingly.
      7d065360
  9. 09 Sep, 2004 1 commit
    • Michael Natterer's avatar
      changed file_open_location_dialog_show() to · ff6ee617
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-location-dialog.[ch]: changed
      	file_open_location_dialog_show() to
      	file_open_location_dialog_new() and return the dialog.
      
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: added a constructor for it
      	and let the dialog factory manage it entirely.
      
      	* app/actions/file-commands.c
      	(file_open_location_dialog_cmd_callback): use the dialog factory
      	to create it.
      ff6ee617
  10. 25 Aug, 2004 2 commits
    • Sven Neumann's avatar
      added gimp_message_box_repeat(). · 80531ec9
      Sven Neumann authored
       2004-08-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpmessagebox.[ch]: added gimp_message_box_repeat().
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimperrordialog.[ch]: added new dialog that adds a new
      	GimpMessageBox for each message added. Fixes bug #92604.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed old gimp_message_box()
      	functionality.
      
      	* app/gui/gui.c (gui_abort): use a GimpMessageBox in a GimpDialog.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: manage GimpErrorDialog as singleton.
      
      	* app/gui/gui-vtable.c (gui_message): use the new error dialog.
      
      	* app/core/gimp-gui.c (gimp_message): substitue "GIMP" for a NULL
      	domain.
      
      	* app/widgets/gimperrorconsole.c (gimp_error_console_add): fail
      	when being called with a NULL domain.
      80531ec9
    • David Odin's avatar
      app/display/gimpnavigationview.c renamed these files to... · f168881c
      David Odin authored
      * app/display/gimpnavigationview.c
      * app/display/gimpnavigationview.h: renamed these files to...
      
      * app/display/gimpnavigationeditor.c
      * app/display/gimpnavigationeditor.h: ... these files, and of course
        changed GimpNavigationView to GimpNavigationEditor since it is really
        inherited from GimpEditor anyway.
      
      This will leave the gimp_navigation_view namespace for the renaming
      from gimp_navigation_preview.
      
      * app/display/Makefile.am
      * app/display/display-types.h
      * app/display/gimpdisplayshell-callbacks.c
      * app/gui/dialogs-constructors.c: Changed accordlingly.
      f168881c
  11. 12 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.c · 2632cd8f
      Michael Natterer authored
      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.
      2632cd8f
  12. 11 May, 2004 1 commit
    • Michael Natterer's avatar
      added action_data_get_context() and macro return_if_no_context(). · 11fa0925
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.[ch]: added action_data_get_context() and
      	macro return_if_no_context().
      
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/buffers-commands.c
      	* app/actions/data-commands.c
      	* app/actions/fonts-actions.c
      	* app/actions/fonts-commands.c
      	* app/actions/gradients-actions.c
      	* app/actions/images-actions.c
      	* app/actions/images-commands.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.[ch]
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: moved lots of code from widgets/
      	to the resp. action callbacks.
      
      	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_action_button()
      	which creates a GtkButton connected to the resp. action.
      
      	* app/widgets/gimpdatafactoryview.[ch]: added "action_group"
      	parameters so we can distinguish brushes, patterns etc. actions.
      
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppatternfactoryview.c
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptoolview.c: removed tons of GtkButton::clicked()
      	callbacks and use gimp_editor_add_action_button() instead
      	of simply _add_button().
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      11fa0925
  13. 10 May, 2004 1 commit
    • Michael Natterer's avatar
      Started making the toolbox configurable. Addresses bug #105764. Not · da0de087
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Started making the toolbox configurable.
      	Addresses bug #105764. Not finished yet.
      
      	* app/core/gimptoolinfo.[ch]: renamed "in_toolbox" to "visible"
      	and made it a GObject property.
      
      	* app/tools/gimp-tools.[ch]: added new function
      	gimp_tools_get_default_order() which returns a GList of tool
      	identifiers.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions & callbacks for
      	toggling the "visible" boolean and for resetting all tools.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolview.[ch]: new widget which allows to
      	toggle a tool's visibility and to reorder the tools.
      
      	* app/widgets/gimptoolbox.[ch]: removed member "GtkWidget *trash"
      	and pack all tool buttons into the same wrap box. Connect to
      	"reoder" of the tool container and to "notify::visible" of all
      	tool infos and update the toolbox accordingly.
      
      	* app/gui/dialogs-constructors.c: create a GimpToolView for the
      	tools list/grid.
      
      	* app/menus/menus.c: register a <Tools> menu for the dialog above.
      
      	* menus/Makefile.am
      	* menus/tools-menu.xml: added the menu.
      da0de087
  14. 22 Apr, 2004 1 commit
  15. 21 Apr, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GtkUIManager · 0b8c4b3e
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpuimanager.[ch]: new GtkUIManager subclass. Adds
      	API to update all action groups and knows which UIs it can create
      	from which XML files.
      
      	* app/widgets/gimpmenufactory.[ch]: register the XML file
      	basenames along with path of their toplevel menus. Create
      	GimpUIManagers instead of GtkUIManagers and register the
      	XML files and menu paths with them.
      
      	* app/gui/menus.c: register all XML files and their toplevel
      	menu paths.
      
      	* app/widgets/gimpeditor.[ch]: also create a GimpUIManager when
      	creating the GtkItemFactory. Added "const gchar *ui_identifier"
      	parameter to gimp_editor_create_menu().
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added "ui_identifier"
      	parameters to all constructors.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppatternfactoryview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: pass UI identifiers to the changed
      	functions above.
      
      	* app/display/gimpdisplayshell.[ch]: added a GimpUIManager for
      	the menubar (menubar creating code still commented out).
      
      	* app/display/gimpdisplay.c
      	* app/gui/gui-vtable.c: update the ui manager.
      0b8c4b3e
  16. 20 Apr, 2004 1 commit
    • Michael Natterer's avatar
      removed... · 661f6dde
      Michael Natterer authored
      2004-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/*-commands.[ch]: removed...
      
      	* app/actions/*-commands.[ch]: ...and added here.
      
      	* app/gui/Makefile.am
      	* app/gui/*-menu.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/actions/Makefile.am
      	* app/actions/*-actions.c: changed accordingly.
      
      	* app/actions/plug-in-actions.[ch]
      	* app/actions/tools-actions.[ch]: new files.
      
      	* app/Makefile.am: had to add more -u evilness because gui/
      	and actions/ have cyclic dependencies.
      
      	* menus/image-menu.xml: added some more items.
      661f6dde
  17. 17 Mar, 2004 1 commit
    • 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
  18. 07 Mar, 2004 1 commit
    • Sven Neumann's avatar
      Made size of undo previews configurable. Not dynamic for now, but at least · 28bb855a
      Sven Neumann authored
      2004-03-07  Sven Neumann  <sven@gimp.org>
      
      	Made size of undo previews configurable. Not dynamic for now, but
      	at least not hardcoded any longer. Fixes bug #119905:
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added "undo-preview-size" property.
      
      	* app/core/gimpundo.[ch]: use the new property instead of a
      	hardcoded value.
      
      	* app/widgets/gimpundoeditor.[ch]: added a "preview-size"
      	construct property.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: added a widget to control the undo
      	preview size.
      28bb855a
  19. 04 Mar, 2004 1 commit
    • Sven Neumann's avatar
      marked new strings for translation. · e21dc0ee
      Sven Neumann authored
      2004-03-04  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc-blurbs.h: marked new strings for translation.
      
      	* libgimpwidgets/gimpstock.h: added #defines for missing icons.
      	This allows us to replace them later without changing the API.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimppaletteeditor.c: use the new stock icon names
      	instead of abusing GTK+ and GIMP tool stock icons.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): added icons
      	to the new check buttons.
      e21dc0ee
  20. 13 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Allow invoking the text tool by double clicking a text layer in the layers · 3bee156b
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	Allow invoking the text tool by double clicking a text layer in
      	the layers dialog, just like the path tool is invoked when double
      	clicking a path.
      
      	* app/tools/gimptexttool.[ch]: added empty
      	gimp_text_tool_set_layer() stub. Sven, your turn...
      
      	* app/gui/layers-commands.[ch]: added layers_text_tool() which
      	invokes the text tool on text layers and falls back to
      	layers_edit_layer_query() otherwise.
      	Added layers_text_tool_cmd_callback() for the layers menu.
      
      	* app/gui/layers-menu.c: added "Text Tool" menu item and hide
      	it for layers which are no text layers.
      
      	* app/gui/dialogs-constructors.c (dialogs_layer_list_view_new):
      	use layers_text_tool() as "activate" function.
      3bee156b
  21. 21 Nov, 2003 1 commit
    • Michael Natterer's avatar
      forgot to declare gimp_color_display_stack_clone(). · 32bc599d
      Michael Natterer authored
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
      	gimp_color_display_stack_clone().
      
      	* app/display/gimpdisplayshell.[ch]: replaced the GList of
      	GimpColorDisplays by a single GimpColorDisplayStack.
      
      	* app/display/gimpdisplayshell-render.c
      	(gimp_display_shell_render): changed accordingly.
      
      	* app/display/gimpdisplayshell-filter.[ch]: reduced API to a
      	single function, gimp_display_shell_filter_set(), which exchanges
      	the whole filter stack. Idle update the display on
      	GimpColorDisplayStack::update().
      
      	* app/display/gimpdisplayshell-filter-dialog.[ch]: changed
      	accordingly.  Return the created dialog instead of assigning
      	shell->filters_dialog.
      
      	* app/gui/view-commands.c (view_display_filters_cmd_callback): set
      	shell->filters_dialog here and raise it it if already
      	exists. Don't use the dialog factory to create it because it's a
      	transient dialog for the display which does not need to be session
      	managed.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: removed display filter dialog stuff.
      32bc599d
  22. 16 Nov, 2003 1 commit
  23. 08 Nov, 2003 2 commits
    • Michael Natterer's avatar
      use gtk_widget_get_screen() instead of gdk_screen_get_default(). · 4d095af4
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptooloptionseditor.c
      	(gimp_tool_options_editor_get_preview): use
      	gtk_widget_get_screen() instead of gdk_screen_get_default().
      
      	* app/widgets/gimpdatafactoryview.[ch]: added "GtkWidget *parent"
      	to GimpDataEditFunc.
      
      	* app/gui/dialogs-constructors.[ch]
      	(dialogs_edit_brush,gradient,palette_func): use the passed parent
      	widget for finding the right screen instead of
      	gdk_screen_get_deafault().
      
      	* app/gui/gui.c: minor cleanup.
      4d095af4
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · bcd9794a
      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 addordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      bcd9794a
  24. 01 Nov, 2003 1 commit
    • Sven Neumann's avatar
      Replaced the histogram tool by a histogram dialog: · dcf50dc2
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	Replaced the histogram tool by a histogram dialog:
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-histogram-[16|22].png:
      	removed here ...
      
      	* themes/Default/images/stock-histogram-[16|22].png: ,,, and added
      	under these new names.
      
      	* libgimpwidgets/gimpstock.[ch]: register the icons as
      	GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons.
      
      	* app/base/gimphistogram.c: don't crash when uncalculated values
      	are requested from a GimpHistogram. Allow to reset the histogram
      	by calling gimp_histogram_calculate() with a NULL region.
      
      	* app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView
      	struct member to "view".
      
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events):
      	return TRUE when events were handled.
      
      	* app/tools/Makefile.am
      	* app/tools/gimp-tools.c
      	* app/tools/gimphistogramtool.[ch]: removed the histogram tool.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/widgets-types.h
      	* app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor.
      	Has some rough edges still...
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c: register the new dialog instead of the
      	histogram tool.
      dcf50dc2
  25. 23 Oct, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 03b90ade
      Sven Neumann authored
      2003-10-23  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-tools-[16|24].png
      	* themes/Default/images/stock-device-status-24.png
      	* themes/Default/images/stock-tool-options-24.png: new icons drawn
      	by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: add the Tools dialog entry here as well.
      
      	* app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
      03b90ade
  26. 18 Oct, 2003 1 commit
    • Michael Natterer's avatar
      added gimp_container_freeze() / _thaw() around font list reloading. · 78b61533
      Michael Natterer authored
      2003-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/gimp-fonts.c (gimp_fonts_load): added
      	gimp_container_freeze() / _thaw() around font list reloading.
      
      	* app/tools/gimp-tools.c (gimp_tools_init): added missing
      	gimp_container_freeze().
      
      	* app/widgets/gimpcontainerview.c: connect to the container's
      	"freeze" and "thaw" signals and empty / refill the view
      	accordingly. Ignore "add", "remove" and "reorder" signals while
      	the container is frozen. Fixes font list sorting after refresh and
      	speeds up refreshing of fonts, brushes, patterns etc.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpfontview.[ch]: new widget for the font list/grid.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_FONT_REFRESH.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* app/gui/Makefile.am
      	* app/gui/fonts-commands.[ch]
      	* app/gui/fonts-menu.[ch]: new files: a menu for the font view.
      
      	* app/gui/menus.c (menus_init): register the new <Fonts> menu.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): removed the
      	fonts refreshing hack from the "Environment" page.
      78b61533
  27. 14 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync) · cff08b64
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
      	* app/config/gimpconfig.c (gimp_config_iface_equal): compare and sync
      	aggregate objects recursively.
      
      	* app/core/gimptemplate.c (gimp_template_finalize): don't leak the
      	filename.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/config/gimpconfig-dump.c: added %L format identifier for
      	verbose layer count. Renamed former %L to %n (layer name).
      
      	* app/config/gimpdisplayconfig.c: changed default image title and
      	image status format strings.
      
      	* app/gui/dialogs-constructors.c: added a blurb for Templates
      	dockables.
      
      	* app/display/gimpdisplayshell.h: fixed typo.
      cff08b64
  28. 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
  29. 30 Sep, 2003 1 commit
    • Sven Neumann's avatar
      accept NULL as blurb and use the name as fallback for a missing blurb. · 1667acd3
      Sven Neumann authored
      2003-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdockable.c (gimp_dockable_new): accept NULL
      	as blurb and use the name as fallback for a missing blurb.
      
      	* app/gui/dialogs-constructors.c: removed the "Foo List" and "Foo
      	Grid" blurbs. Only left blurbs where the longer name makes sense.
      1667acd3