Commit graph

10039 commits

Author SHA1 Message Date
Michael Natterer b09cadf033 app/widgets/gimpdocked.c (gimp_docked_iface_base_init) they are base_init,
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
	* app/config/gimpconfig.c (gimp_config_iface_base_init): they are
	base_init, not just init functions. Changed implementations to not
	overwrite the parent class' vtable entries with the default
	implementations. Fixes derived interface methods and brings
	back all dockable menus.
2003-10-15 20:05:23 +00:00
Michael Natterer f80e52fbf0 eek. should actually commit what i claimed below...
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/gui/info-window.c: eek. should actually commit what i
	claimed below...
2003-10-15 17:59:40 +00:00
Sven Neumann 77e69b7b91 fixed comment.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_sync): fixed comment.
2003-10-15 17:54:42 +00:00
Marco Ciampa 3ad58e9de4 Updated italian translation. 2003-10-15 17:11:45 +00:00
Sven Neumann bfc4ac1148 sync from the given template to the dialog template, not the other way
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/gui/file-new-dialog.c (file_new_dialog_set): sync from the
	given template to the dialog template, not the other way around.

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_constructor):
	shouldn't have to call the notify callback from here.
2003-10-15 17:10:22 +00:00
Michael Natterer 3c14d9db81 app/app.types app/app-docs.sgml added GimpColorFrame stuff, updates.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/app.types
	* app/app-docs.sgml
	* app/app-sections.txt: added GimpColorFrame stuff, updates.
2003-10-15 16:15:57 +00:00
Michael Natterer 3dd12b44a8 made the "GimpRGB *color" param const.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.[ch] (gimp_color_frame_set_color):
	made the "GimpRGB *color" param const.

	Added API docs for all public functions.
2003-10-15 16:15:19 +00:00
Michael Natterer 8f48a8a2c3 app/app-docs.sgml added GimpColorFrame stuff, updates.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: added GimpColorFrame stuff, updates.
2003-10-15 15:35:03 +00:00
Sven Neumann 1e0816fa93 minor cleanup.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_diff_internal): minor
	cleanup.

	* app/core/gimptemplate.[ch]: added a comment property.

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: removed "default_comment" property
	and set the default comment on the default image template.

	* app/widgets/gimptemplateeditor.c: added a comment editor widget.

	* app/core/gimp.c
	* app/gui/file-new-dialog.c
	* app/gui/preferences-dialog.c
	* app/pdb/gimprc_cmds.c
	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.

	* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_init):
	increased spacing between the spinbutton and the menu.
2003-10-15 15:30:11 +00:00
Michael Natterer e78c87b228 new enum GimpColorFrameMode.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-enums.[ch]: new enum GimpColorFrameMode.

	* app/widgets/Makefile.am
	* app/widgets/gimpcolorframe.[ch]: new widget GimpColorFrame which
	shows a picked color in an optionmenu-selectable color space.
	Helps getting rid in InfoDialog.

	* app/gui/info-window.c: use it for the "extended" page. Cleaned
	up that page a lot so it can be made dockable in the next step.

	* app/tools/gimpcolorpickertool.[ch]: use it here too. Don't use
	InfoDialog any more (and do not depend on gui/ any more).
2003-10-15 15:16:50 +00:00
Michael Natterer 762b709a5e create tab widgets without border for both the tools and templates views.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.c
	(gimp_container_view_get_preview): create tab widgets without
	border for both the tools and templates views.

	* app/widgets/gimpviewablebutton.c: removed trailing whitespace.
2003-10-15 15:10:20 +00:00
Jakub Steiner 4bae069c26 eek 2003-10-15 14:33:16 +00:00
Jakub Steiner d47a8fa1a7 nothing fancy doable here
2003-10-15  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/preferences/default-grid.png: nothing fancy doable
  here
2003-10-15 14:31:32 +00:00
Jakub Steiner b55d8e67ec got fooled by brix' changelog entry 2003-10-15 14:30:52 +00:00
Jakub Steiner a20f08bab4 nothing fancy doable here
2003-10-15  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/default-grid.png: nothing fancy doable
  here
2003-10-15 14:29:30 +00:00
Sven Neumann d86e56e4d7 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.
2003-10-15 11:57:36 +00:00
Sven Neumann 2806c6b2d5 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.

	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new)
	(gimp_prop_coordinates_connect): set tooltips from property blurbs.

	* app/core/gimpgrid.c
	* app/core/gimptemplate.c
	* app/gui/preferences-dialog.c: minor string changes.
2003-10-15 11:04:31 +00:00
Sven Neumann 981e947e64 added a hbox to align the landscape/portrait buttons so they don't move
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c: added a hbox to align the
	landscape/portrait buttons so they don't move with the label below.
2003-10-15 01:06:30 +00:00
Sven Neumann 16417771ba mark string as translatable (bug #124600).
2003-10-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: mark string as translatable
	(bug #124600).
2003-10-15 00:43:51 +00:00
Sven Neumann db705daae0 added app/core/gimpgrid.c.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/core/gimpgrid.c.
2003-10-14 23:46:08 +00:00
Sven Neumann 76db85da52 some fine-tuning.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: some fine-tuning.
2003-10-14 23:41:58 +00:00
Sven Neumann cff08b64ae app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
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.
2003-10-14 23:00:16 +00:00
Dave Neary 4cfb8d3dcd Some more gtkdocs.
2003-10-14  Dave Neary  <bolsh@gimp.org>

        * libgimpcolor/gimpcolorspace.c: Some more gtkdocs.
2003-10-14 21:54:42 +00:00
Sven Neumann 0eb7e92a15 don't use gtk-doc style comments here.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.h: don't use gtk-doc style comments
	here.
2003-10-14 17:34:05 +00:00
Sven Neumann bf2abc080c app/app-docs.sgml updated.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2003-10-14 17:28:53 +00:00
Michael Natterer 9782629f02 fixed warning (missing GIMP_TEMPLATE() cast).
2003-10-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
	fixed warning (missing GIMP_TEMPLATE() cast).
2003-10-14 17:05:26 +00:00
Sven Neumann 7759f7ea1a added blurbs for most properties.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c (gimp_template_class_init): added blurbs
	for most properties.

	* app/config/gimprc-blurbs.h: removed an unused blurb.
2003-10-14 17:02:11 +00:00
Sven Neumann 459bebba07 made "perfect-mouse" the default and changed defaults for image title and
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c: made "perfect-mouse" the default
	and changed defaults for image title and image statusbar.
2003-10-14 16:47:43 +00:00
Michael Natterer e8508ded68 add the new context to gimp->context_list in gimp_context_constructor(),
2003-10-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c: add the new context to gimp->context_list
	in gimp_context_constructor(), not in set_property(). Cleanup.

	* app/tools/gimptextoptions.c: added finalizer so we don't leak
	the options' GtkTextBuffer and GimpText objects. Cleanup.
2003-10-14 16:40:02 +00:00
Sven Neumann d9e5024a5c set the initial stock icon on the viewable-button.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
	set the initial stock icon on the viewable-button.
2003-10-14 16:29:33 +00:00
Helvetix Victorinox 487324b39a app/composite/gimp-composite-generic.c Tweaked a few more documentation
* app/composite/gimp-composite-generic.c
* app/composite/gimp-composite.c:
  Tweaked a few more documentation comments.
2003-10-14 16:00:19 +00:00
Sven Neumann 3ac7d14d19 app/core/gimpimage-grid.c app/core/gimpimage.[ch] removed the
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-grid.c
	* app/core/gimpimage.[ch]
	* app/gui/grid-dialog.c: removed the "grid_changed" signal from
	GimpImage.

	* app/display/gimpdisplayshell-handlers.c: connect to
	notifications from the image grid instead.
2003-10-14 15:37:21 +00:00
Sven Neumann 737da42437 removed gimp_config_copy_properties() and added the more intelligent
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.[ch]: removed
	gimp_config_copy_properties() and added the more intelligent
	gimp_config_sync() instead.

	* app/config/Makefile.am
	* app/config/config-types.h
	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: replaced default image properties
	with a single GimpTemplate object property. Changed the
	set_property function to not replace aggregate objects but call
	gimp_config_sync() instead.

	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
	same change here.

	* app/config/gimpconfig.[ch]: changed return value of
	gimp_config_duplicate() to gpointer to avoid some casts that only
	made the code harder to read.

	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
	here but edit the GimpTemplate passed when the editor was
	constructed.

	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
	editing of the default image paramaters.

	* app/config/gimprc.c
	* app/core/core-types.h
	* app/core/gimp.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-grid.c
	* app/core/gimpimage-new.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/core/gimptemplate.[ch]
	* app/gui/file-new-dialog.c
	* app/gui/grid-dialog.c
	* app/gui/info-window.c
	* app/gui/resize-dialog.c
	* app/gui/templates-commands.[ch]
	* app/gui/tool-options-commands.c
	* app/text/gimptextlayer.c
	* app/text/gimptextlayer.c
	* app/tools/gimptexttool.c
	* app/widgets/gimptemplateview.c
	* app/xcf/xcf-load.c: changed accordingly.
2003-10-14 15:20:59 +00:00
Sven Neumann f0e8517eb5 removed "grid_changed" signal. The user of GimpGridEditor can connect to
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgrideditor.[ch]: removed "grid_changed" signal.
	The user of GimpGridEditor can connect to notifications of the
	grid that is being edited. There is no need for a proxy signal.

	* app/core/gimpimage-grid.c (gimp_image_set_grid): don't exchange
	the image's grid object, it is part of the image. Copy all grid
	properties instead.

	* app/core/gimpimage-undo-push.c
	* app/gui/grid-dialog.c: changed accordingly.
2003-10-14 12:23:23 +00:00
Simon Budig 93f2394f49 Fixed a few incarnations of drc's name in the Changelog
2003-10-14  Simon Budig  <simon@gimp.org>

	Fixed a few incarnations of drc's name in the Changelog
2003-10-14 12:18:26 +00:00
Michael Natterer b19deeb311 Refactored modifier handling of displays and tools. Hopefully finally
2003-10-14  Michael Natterer  <mitch@gimp.org>

	Refactored modifier handling of displays and tools. Hopefully
	finally fixes bug #124135.

	* app/tools/gimptool.[ch] (struct GimpTool): added private members
	"focus_display" and "modifier_state" so tools are aware of their
	modifier state.

	* app/tools/gimptool.[ch]
	* app/tools/tool_manager.[ch]: removed all public modifier_key()
	API and added set_focus_display() and set_modifier_state()
	instead.

	* app/tools/tool_manager.c (tool_manager_select_tool)
	* app/display/gimpdisplay.c (gimp_display_delete): set the
	active_tool's focus_display to NULL.

	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
	added almost the whole stuff that used to be static variables of
	gimp_display_shell_tool_events(). Cleaned up the struct a bit.

	* app/display/gimpdisplayshell-callbacks.c: removed utility
	function gimp_display_shell_update_tool_modifiers().

	(gimp_display_shell_tool_events):

	- Replaced all calls to gimp_display_shell_update_tool_modifiers()
	  and tool_manager_modifier_key_active() by
	  tool_manager_modifier_state_active().

	- Call tool_manager_focus_display_active() before setting the
	  tool's modifier_state. Set the tool's focus_display to NULL when
	  we get a focus_out event.

	- Don't grab/ungrab the keyboard twice when <space>-selecting the
	  move tool.

	- Removed most static variables and use the new members of
	  GimpDisplayShell. Don't remember any old modifier states since
	  GimpTool does that by itself now.
2003-10-14 11:14:28 +00:00
Dmitry Mastrukov d452d0d7e8 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-10-14 04:32:45 +00:00
Sven Neumann d4f367faa6 added a missing icon.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimpstock.sgml: added a missing icon.
2003-10-14 01:58:15 +00:00
Manish Singh 3e50b47a7f add $(libgimp) to libgimpui_1_3_la_DEPENDENCIES so -jN builds work better.
2003-10-13  Manish Singh  <yosh@gimp.org>

        * libgimp/Makefile.am: add $(libgimp) to libgimpui_1_3_la_DEPENDENCIES
        so -jN builds work better.
2003-10-14 00:28:13 +00:00
Sven Neumann 24c90dca5c app/Makefile.am app/main.c app/config/Makefile.am app/config/makefile.msc
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am
	* app/main.c
	* app/config/Makefile.am
	* app/config/makefile.msc
	* app/config/gimpconfig-dump.[ch]: removed the separate
	gimpconfig-dump binary and moved the functionality into gimp
	itself. It became a mess to build and seems cleaner this way.
2003-10-13 22:55:25 +00:00
Dave Neary fad03466b7 Added gtk-docs to a few functions.
2003-10-13  Dave Neary  <bolsh@gimp.org>

        * libgimpcolor/gimpcolorspace.c: Added gtk-docs to a few functions.
2003-10-13 20:56:33 +00:00
Helvetix Victorinox 39790c8801 Updated/improved/organised documentation comments.
* app/composite/gimp-composite-generic.c:
* app/composite/gimp-composite.[ch]: Updated/improved/organised
  documentation comments.
2003-10-13 18:49:38 +00:00
Sven Neumann 6ebaccd6d1 code cleanup and some documentation.
2003-10-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimptile.c: code cleanup and some documentation.
2003-10-13 16:52:49 +00:00
Michael Natterer dceb84e9df call g_set_prgname() in the --no-interface case (GDK is doing this for us
2003-10-13  Michael Natterer  <mitch@gimp.org>

	* app/main.c (main): call g_set_prgname() in the --no-interface
	case (GDK is doing this for us otherwise).

	Always set a human readable localized application name using
	g_set_application_name().
2003-10-13 15:48:35 +00:00
Marco Ciampa 40173c4e05 Updated italian translation. 2003-10-13 14:48:18 +00:00
Michael Natterer 72dcdad6d3 updated.
2003-10-13  Michael Natterer  <mitch@gimp.org>

	* app/app-sections.txt: updated.
2003-10-13 13:22:48 +00:00
Michael Natterer 85cf47ebed cleanup & cruft removal.
2003-10-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-color-area.[ch]: cleanup & cruft removal.
2003-10-13 12:42:52 +00:00
Michael Natterer 927f5d44cb typo: s/vieport/viewport/g
2003-10-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c: typo: s/vieport/viewport/g

	(gimp_container_grid_view_insert_item): stop idle updating since
	the widget will be exposed anyway.
2003-10-13 12:35:52 +00:00
Michael Natterer 2b0c05131f renamed gimp_dialog_factories_idle() and _unidle() to
2003-10-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: renamed
	gimp_dialog_factories_idle() and _unidle() to
	gimp_dialog_factories_set_busy() and _unset_busy().
	Added utility function gimp_dialog_factory_set_widget_data() and
	public API gimp_dialog_factory_from_widget() so we don't need to
	g_object_[set|get]_data() with magic keys all over the place.

	* app/widgets/gimpsessioninfo.c
	* app/gui/dialogs-commands.c
	* app/gui/dialogs-menu.c
	* app/gui/gui-vtable.c: changed accordingly.

	* app/widgets/gimpsessioninfo.c: remember active page of all dock
	notebooks in sessionrc.

	* app/widgets/gimpsessioninfo.h: cleaned up the session info structs.
2003-10-13 11:57:50 +00:00
Sven Neumann b687abd515 clamp x and y sizes to sane values. Fixes bug #124389.
2003-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c: clamp x and y sizes to sane values.
	Fixes bug #124389.
2003-10-13 11:25:05 +00:00