Commit Graph

10208 Commits

Author SHA1 Message Date
Dave Neary ac6bd36f52 Add outstanding display options to preferences dialog.
2003-10-22  Dave Neary  <bolsh@gimp.org>

	* app/gui/preferences-dialog.c: Add outstanding display options to
	preferences dialog.
2003-10-22 20:32:13 +00:00
Jan Morén 0060cf2d81 Updated Swedish translation.
2003-10-22  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-10-22 17:48:17 +00:00
Marco Ciampa bf0f5f7c8d Updated italian translation. 2003-10-22 16:21:17 +00:00
Sven Neumann 81aee7cd2b app/config/gimprc-blurbs.h don't set separate blurbs for the fullscreen
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h
	* app/display/gimpdisplayoptions.h: don't set separate blurbs for
	the fullscreen options. It only means extra work for the translators
	without much (if any) value.
2003-10-22 15:26:41 +00:00
Sven Neumann e3480536f3 app/display/Makefile.am new files that implement a GimpConfig object with
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/display/Makefile.am
	* app/display/gimpdisplayoptions.[ch]: new files that implement
	a GimpConfig object with GimpDisplayShell and GimpCanvas options.
	Actually two classes, one for the normal view, a derived one with
	different default values for fullscreen mode.

	* app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
	to GimpCanvasPadding.

	* app/config/config-types.h: added the GimpDisplayOptions typedef.

	* app/config/gimprc-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
	with two instances of GimpDisplayOptions.

	* app/display/gimpdisplayshell.[ch]: replaced the
	GimpDisplayShellAppearance struct with GimpDisplayOptions.

	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-handlers.[ch]
	* app/gui/image-menu.c: changed accordingly.

	* app/gui/preferences-dialog.c: added a convenience function that
	creates a view on a GimpDisplayOptions object. Not all values are
	configurable here yet.

	* docs/gimprc-1.3.5.in
	* etc/gimprc: regenerated to document the gimprc format changes.
2003-10-22 14:46:05 +00:00
Sven Neumann 49fd45e277 added new function gimp_rgb_set_gdk_color().
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added new function
	gimp_rgb_set_gdk_color().

	* app/config/gimprc.c (gimp_rc_load): unlinking the broken gimprc
	doesn't really help so don't do it. GIMP will continue to complain
	until the gimprc is fixed.
2003-10-22 14:31:44 +00:00
Sven Neumann 07b6d2103b no need to reimplement the default GimpConfigInterface implementation.
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c: no need to reimplement the default
	GimpConfigInterface implementation.

	* app/config/gimpcoreconfig.c: renamed notify handlers.
2003-10-22 12:37:10 +00:00
Dave Neary bac2d9fcc0 Applied a slightly modified patch from Vesa Halttunen <vesuri@jormas.com>
2003-10-21  Dave Neary  <bolsh@gimp.org>

        * app/core/gimpimage-convert.c: Applied a slightly modified
        patch from Vesa Halttunen <vesuri@jormas.com> to sort generated
        optimum palettes. Closes bug #119824.
2003-10-21 19:53:31 +00:00
Sven Neumann 3930693783 base/base.c (base_init) moved the message about possible debug messages to
2003-10-21  Sven Neumann  <sven@gimp.org>

	* base/base.c (base_init)
	* app/errors.c (gimp_errors_init): moved the message about
	possible debug messages to gimp_errors_init() so that it appears
	before any startup debug output.

	* app/app_procs.c (app_init): register a log handler for the
	GimpConfig log domain.

	* app/widgets/gimpwidgets-utils.c (gimp_message_box)
	* app/core/gimp.c (gimp_message): added an extra newline when
	sending messages to stderr. Don't output the full progname for
	messages; use a simple "GIMP" like the GUI message handler does.

	* app/gui/user-install-dialog.c: removed function copy_file()...

	* app/config/gimpconfig-utils.[ch]: ... and added it here as
	gimp_config_file_copy(). Also added utility function
	gimp_config_file_backup_on_error().

	* app/config/gimprc.c (gimp_rc_load): if the user gimprc can't be
	parsed, create a backup and if that succeeds unlink the broken one
	to cure the problem.

	* app/gui/session.c: create a backup if sessionrc can't be parsed.

	* config/gimpconfig-deserialize.c (gimp_config_deserialize_properties):
	don't set an error when token is G_TOKEN_NONE; it should already
	be set then.
2003-10-21 18:14:58 +00:00
Michael Natterer 42312ecac7 added new virtual function GimpDocked::get_title() which returns a custom
2003-10-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdocked.[ch]: added new virtual function
	GimpDocked::get_title() which returns a custom title. Added signal
	"title_changed". Added public wrappers around the new stuff.

	* app/widgets/gimpdockable.c: implement GtkContainer::add() and
	::remove() and connect to the child's "title_changed" signal. Use
	the GimpDocked's title if it provides one.

	* app/widgets/gimptooloptionseditor.c: implement
	GimpDocked::get_title() and return e.g. "Paintbrush Options". Emit
	"title_changed" when the active tool changes. Simplified
	GimpDocked::get_preview()'s implementation a lot since it does not
	include a label any more.
2003-10-21 14:49:12 +00:00
Miloslav Trmac f142ca8e9b Update Czech translation 2003-10-21 14:30:18 +00:00
Sven Neumann 1758feb8f4 changed the default value for "sample_average" to TRUE (for Levels and
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcoloroptions.c: changed the default value for
	"sample_average" to TRUE (for Levels and Curves tools).

	* app/tools/gimpcolorpickeroptions.c: override the default value
	for "sample_average" and set it back to FALSE (for Color Picker).
2003-10-21 12:45:58 +00:00
Sven Neumann 55fd373096 documented gimp_tool_dialog_new().
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooldialog.c: documented gimp_tool_dialog_new().
2003-10-21 11:31:49 +00:00
Sven Neumann 7e23d307a4 don't include the plug-in name in error messages; GIMP takes care of that
2003-10-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/align_layers.c: don't include the plug-in name
	in error messages; GIMP takes care of that for us.
2003-10-20 23:32:20 +00:00
Sven Neumann 8a9203a91e it's not any longer needed to link the test against libappdisplay. and
2003-10-21  Sven Neumann  <sven@gimp.org>

        * app/config/Makefile.am (test_config_LDADD): it's not any longer
        needed to link the test against libappdisplay. and libappwidgets.a.
2003-10-20 23:04:02 +00:00
Sven Neumann ba6d76119a removed the call to cpu_accel_print_results(); should have got enough
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/base/base.c (base_init): removed the call to
	cpu_accel_print_results(); should have got enough testing and
	gimp-composite outputs the same info anyway.

	* app/Makefile.am: link libappcomposite.a before libappbase.a.

	* app/config/Makefile.am (test_config_LDADD): it's not any longer
	needed to link the test against libappdisplay. and libappwidgets.a.
2003-10-20 23:02:49 +00:00
Sven Neumann fb6e78d9d8 implement GimpItemTreeView::set_image and set the sensitivity of the
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpvectorstreeview.c: implement
	GimpItemTreeView::set_image and set the sensitivity of the
	"Selection To Path" button from there. Fixes bug #125058.
2003-10-20 22:31:43 +00:00
Tor Lillqvist dcc2a00a6c Fix bug that was introduced when the call to g_strconcat() was replaced
2003-10-20  Tor Lillqvist  <tml@iki.fi>

	* libgimpbase/gimpenv.c (gimp_directory): Fix bug that was
	introduced when the call to g_strconcat() was replaced with a call
	to g_build_filename(). The per-user directory in
	gimp_data_directory() (which mainly is used on Windows when no
	home directory can be found) is supposed to be
	".gimp-1.3.<username>", not ".gimp-1.3./<username>".
2003-10-20 22:22:46 +00:00
Sven Neumann 445d6bfc9f app/widgets/Makefile.am added a simple utility function
2003-10-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimptooldialog.[ch]: added a simple utility function
	gimp_tool_dialog_new() that creates a GimpVieawableDialog based on
	GimpToolInfo and registers it with the toplevel dialog factory.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c: use the new functionality; removed
	the shell_identifier since it can be created from the tool name.

	* app/tools/gimpperspectivetool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.[ch]: removed the shell_identifier
	here as well. Should also be ported to gimp_tool_dialog_new().

	* NEWS: removed stuff that isn't new at all.
2003-10-20 21:27:34 +00:00
Dave Neary 1d6fa98982 Updated the NEWS file.
2003-10-20  Dave Neary  <bolsh@gimp.org>

	* NEWS: Updated the NEWS file.
2003-10-20 20:36:14 +00:00
Sven Neumann 69be56bd80 don't use InfoDialog; always display pixels and real-world units in the
2003-10-20  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmeasuretool.[ch]: don't use InfoDialog; always
	display pixels and real-world units in the info window.
2003-10-20 17:36:18 +00:00
Stanislav Visnovsky 32815162ff Updated Slovak translation by Zdenko Podobny.
2003-10-20  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny.
2003-10-20 16:22:45 +00:00
Stano Visnovsky 025850937d really update 2003-10-20 16:00:51 +00:00
Sven Neumann c87d5bffb1 must use strcmp() not strcoll() on the collation keys obtained from
2003-10-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpobject.c (gimp_object_name_collate): must use
	strcmp() not strcoll() on the collation keys obtained from
	g_utf8_collate_key().
2003-10-20 11:52:19 +00:00
Marco Ciampa b8e10e02e8 Updated italian translation. 2003-10-20 11:22:48 +00:00
Hasbullah Bin Pit 234fef84d9 Added Translation by MIMOS Open Source Development Group <ismas@mimos.my>
2003-10-20  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Added Translation by
                MIMOS Open Source Development Group <ismas@mimos.my>
2003-10-19 23:18:58 +00:00
Maurits Rijk 6461262d65 More code clean-up for the gfig plug-in. 2003-10-19 21:03:21 +00:00
Sven Neumann fb448d8004 app/tools/gimpcropoptions.c revert back to "Current".
2003-10-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcropoptions.c
	* app/tools/gimpmoveoptions.c: revert back to "Current".

	* app/tools/tools-enums.[ch]: removed "Active" from the enum value
	descriptions; it was misleading.
2003-10-19 16:04:01 +00:00
Sven Neumann 28e1ecebfc attach the first radio button as object data to the returned frame.
2003-10-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c (gimp_prop_enum_radio_frame_new)
	(gimp_prop_boolean_radio_frame_new): attach the first radio button
	as object data to the returned frame.

	* app/tools/gimpmoveoptions.c: change labels and sensitivity of
	the Tool Toggle frame depending on the selected move-type.

	* app/tools/gimpcropoptions.c: use the term "Active Layer" instead
	of "Current Layer". Please object if you dislike this change.
2003-10-19 15:38:10 +00:00
Sven Neumann 5939356507 added new files split out of plug-ins/gfig/gfig.c.
2003-10-19  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added new files split out of plug-ins/gfig/gfig.c.
2003-10-19 12:02:01 +00:00
Jan Morén 42e8e14a7a Updated Swedish translation.
2003-10-19  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-10-19 10:39:37 +00:00
Maurits Rijk 416d2e2fdc Fix for #124158. (always show both the Paint
and Select Tab). Also first attempt to split this hug file into
smaller pieces to make this plug-in a bit more manageable.
2003-10-19 09:44:46 +00:00
Sven Neumann 9407ecba10 app/app-docs.sgml added new fonts UI functions.
2003-10-19  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: added new fonts UI functions.
2003-10-19 01:12:49 +00:00
Sven Neumann 21888b9f58 app/config/Makefile.am it became impossible to link the test because the
2003-10-19  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/test-config.c: it became impossible to link the test
	because the GimpRc class pulls in too many symbols. Changed it to
	use a GimpGrid object instead.

	* app/core/gimpgrid.[ch]: reordered properties so they match the
	order they appear in the grid dialog.
2003-10-19 00:33:25 +00:00
Sven Neumann 5b84acdc81 removed the "Select Tab" menu and all the evil hacks that were needed to
2003-10-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.c: removed the "Select Tab" menu and
	all the evil hacks that were needed to make it work. Now that we
	have an extra dockable menu, the standard menu from GTK+ is good
	enough.

	* app/widgets/gimpdockable.c: added a tooltip to the close button
	and removed code that used to hide the "Select Tab" menu.

	* app/gui/dialogs-menu.c (dialogs_menu_entries): removed now unused
	"Select Tab" entry.
2003-10-18 22:12:32 +00:00
Dave Neary 8c26afbb1f a
2003-10-18  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/despeckle.c
        * plug-ins/common/gqbist.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c
        * plug-ins/script-fu/scripts/burn-in-anim.scm
        * plug-ins/script-fu/scripts/spyrogimp.scm: Made several strings
        translateable, and removed version numbers from window titles and
        plug-in names, following suggestions from Raymond Ostertag.
        This closes bug #124600.
2003-10-18 20:33:31 +00:00
Michael Natterer ef3ecefd54 changed the "Anti Erase" toggle key from <control> to <alt> because
2003-10-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimperasertool.c (gimp_eraser_options_gui): changed
	the "Anti Erase" toggle key from <control> to <alt> because
	<shift> and <control> are used by straight_line mode and should
	behave consistently across all paint tools.
2003-10-18 17:27:11 +00:00
Michael Natterer 2e9f3fb92c need to set docked_iface->get_preview to NULL explicitly now that the
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.
2003-10-18 17:10:36 +00:00
Sven Neumann f68d05c9ce added an (unused) GimpTemplate parameter to make this function match the
2003-10-18  Sven Neumann  <sven@gimp.org>

	* app/gui/templates-commands.[ch] (templates_new_template_dialog):
	added an (unused) GimpTemplate parameter to make this function
	match the GimpTemplateActionFunc signature.
2003-10-18 17:06:43 +00:00
Michael Natterer 78b6153301 added gimp_container_freeze() / _thaw() around font list reloading.
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.
2003-10-18 16:23:15 +00:00
Christian Rose 69496c72ac Updated Swedish translation.
2003-10-18  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2003-10-18 13:32:04 +00:00
Danilo Šegan 33bb0f522d Updated Serbian translation.
2003-10-18  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-10-18 02:55:15 +00:00
Pablo Gonzalo del Campo 476f412c0f Updated Spanish translation.
2003-10-17  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-10-17 21:04:39 +00:00
Pablo Gonzalo del Campo 4187f5ecd3 Updated Spanish translation.
2003-10-17  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-10-17 20:46:59 +00:00
Sven Neumann 68ed1da1e9 we have a bug somewhere; this function shouldn't be called for a view w/o
2003-10-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c (gimp_container_view_get_preview):
	we have a bug somewhere; this function shouldn't be called for a
	view w/o a container. Added a g_return_if_fail() to avoid a crash.
2003-10-17 17:54:13 +00:00
Sven Neumann 3a8ee221d0 Reverted Maurits' change to po/Makefile.in.in.
We want the version installed from latest intltoolize.
2003-10-17 12:21:56 +00:00
Sven Neumann 9f25946446 reverted most of Maurits changes (not the bug-fix though). The tentative
2003-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: reverted most of Maurits changes (not the
	bug-fix though). The tentative feature freeze we are in also
	implies a string freeze.  It's too late for such massive string
	changes.
2003-10-17 12:17:42 +00:00
Maurits Rijk 072f57ee6a commented out code for Lock Grid (which wasn't implemented). Fixes
* plug-ins/gfig/gfig.c: commented out code for Lock Grid (which wasn't
  implemented). Fixes #124157.
2003-10-17 11:46:15 +00:00
Sven Neumann 33370866a2 according to an older mail from Owen, GDK_ACTION_DEFAULT means nothing and
2003-10-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): according to an
	older mail from Owen, GDK_ACTION_DEFAULT means nothing and should
	not be used.

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): pass 0 to gdk_drag_status()
	instead of GDK_ACTION_DEFAULT.
2003-10-17 11:28:28 +00:00
Sven Neumann 42c46dbd12 added gimp_any_to_utf8() 2003-10-17 09:38:24 +00:00