Commit graph

16278 commits

Author SHA1 Message Date
Sven Neumann fea85ea945 app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip)
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c 
(gimp_display_shell_show_tooltip)
	* app/display/gimpstatusbar.c (gimp_statusbar_progress_start)
	* app/gui/gui.c (gui_menu_show_tooltip): push a NULL stock-id.


svn path=/trunk/; revision=25479
2008-04-14 07:39:23 +00:00
Sven Neumann c88bd263e0 added a sanity check.
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_label_expose): 
added
	a sanity check.

	* app/display/gimpdisplayshell-layer-select.c: formatting.


svn path=/trunk/; revision=25478
2008-04-14 06:50:55 +00:00
Sven Neumann e7c5bf8086 added stock-id parameters to all statusbar setters.
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch]: added stock-id parameters to 
all
	statusbar setters.

	* app/display/gimpdisplayshell-title.c: pass NULL as stock-id.

	* app/tools/gimptool.c: pass the tool icon to the statusbar.

	* app/tools/gimpeditselectiontool.c 
(gimp_edit_selection_tool_start):
	inherit the tool-info from the parent tool.


svn path=/trunk/; revision=25477
2008-04-14 06:28:43 +00:00
Sven Neumann 9db8d2ef35 formatting.
2008-04-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptool.h: formatting.


svn path=/trunk/; revision=25476
2008-04-13 18:04:27 +00:00
Sven Neumann d8ad4cfa7c added "label-scale" style property.
2008-04-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpunitcombobox.c: added "label-scale" style 
property.

	* app/display/gimpscalecombobox.[ch]: ditto. Also removed the
	support for extra action items.

	* app/display/gimpstatusbar.c: changed accordingly.

	* themes/Default/gtkrc
	* themes/Small/gtkrc: use a smaller font for the combo-box 
labels
	in the statusbar.


svn path=/trunk/; revision=25475
2008-04-13 17:01:19 +00:00
Michael Natterer af484e2fe2 minor cosmetics.
2008-04-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpiscissorstool.c: minor cosmetics.

	* cursors/gimp-tool-cursors.xcf: add the new SELECT modifier.


svn path=/trunk/; revision=25474
2008-04-13 13:50:01 +00:00
Martin Nordholts a8bbf6b29b Applied modified patch from Daniel Hornung that changes the mouse cursor
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	Applied modified patch from Daniel Hornung that changes the mouse
	cursor to a "clicking will create a selection"-icon when hovering
	the center of a pending Scissors Select Tool selection (bug #493370)

	* app/tools/gimpiscissorstool.c
	(gimp_iscissors_tool_cursor_update): Use the new cursor icon.

	* cursors/modifier-select.png
	* cursors/xbm/modifier-select.xbm
	* cursors/xbm/modifier-select-mask.xbm: New cursor icon.

	* cursors/makefile.msc
	* cursors/Makefile.am 
	* app/widgets/gimpcursor.c
	* app/widgets/widgets-enums.h: Changed accordingly.

svn path=/trunk/; revision=25473
2008-04-12 11:40:52 +00:00
Martin Nordholts e946f60361 plug-ins/script-fu/scripts/3d-outline.scm
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/script-fu-util.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: Applied patch from
	Ulf-D. Ehlert that makes the Alpha to Logo-filters more gracefully
	handle images with many layers (bug #498480).

svn path=/trunk/; revision=25472
2008-04-12 10:45:42 +00:00
Martin Nordholts 626f2093e8 Applied patch from Mark Locascio that makes the center point of rectangles
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage-snap.c (gimp_image_snap_rectangle): Applied
	patch from Mark Locascio that makes the center point of rectangles
	snap (bug #527659).

svn path=/trunk/; revision=25471
2008-04-12 05:47:56 +00:00
Michael Natterer 3b8d863bbe don't call gtk_widget_set_name() on a NULL menubar.
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_appearance_update): don't call
	gtk_widget_set_name() on a NULL menubar.


svn path=/trunk/; revision=25469
2008-04-11 16:58:14 +00:00
Sven Neumann 326c776771 reduced spacing between entry and unit menu.
2008-04-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_size_entry_new):
	reduced spacing between entry and unit menu.

svn path=/trunk/; revision=25468
2008-04-11 15:38:53 +00:00
Sven Neumann 22205696de tweaked the layout to save a few pixels.
2008-04-11  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): tweaked the
	layout to save a few pixels.

svn path=/trunk/; revision=25467
2008-04-11 15:30:58 +00:00
Michael Natterer 01a35bddfb unfullscreen the window before doing anything else.
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
	unfullscreen the window before doing anything else.


svn path=/trunk/; revision=25466
2008-04-11 14:42:43 +00:00
Michael Natterer c57d42c32a don't show the status bar's resize grip in fullscreen mode.
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_appearance_update): don't show the status
	bar's resize grip in fullscreen mode.


svn path=/trunk/; revision=25465
2008-04-11 09:08:40 +00:00
Michael Natterer 30fe366078 unset the move cursor in GtkWidget::leave_notify_event() so it always gets
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-preview.c: unset the move cursor in
	GtkWidget::leave_notify_event() so it always gets unset when the
	pointer leaves the widget.


svn path=/trunk/; revision=25464
2008-04-11 08:39:10 +00:00
Sven Neumann f0bd9254ad fixed ChangeLog entry
svn path=/trunk/; revision=25463
2008-04-10 19:45:24 +00:00
Sven Neumann cc57080a58 fixed compilation on Win32 (bug #527300).
2008-04-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	fixed compilation on Win32 (bug #527300).


svn path=/trunk/; revision=25462
2008-04-10 19:38:30 +00:00
Sven Neumann 5357d440e4 improved the check if the message can be shown in the statusbar. Do not
2008-04-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch] 
(gimp_statusbar_progress_message):
	improved the check if the message can be shown in the statusbar.
	Do not show messages that don't fit into the given space.

	* app/gui/gui-message.c (gui_message_error_dialog): if there's
	already an error dialog associated with a progress, then use it.


svn path=/trunk/; revision=25461
2008-04-10 19:24:06 +00:00
Michael Natterer ff492c52a3 implement GimpDocked::set_context() and set the GimpViewRenderers'
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcomponenteditor.c: implement
	GimpDocked::set_context() and set the GimpViewRenderers'
	contexts. Unclear how this could have been missed since it
	warned badly about NULL contexts.


svn path=/trunk/; revision=25460
2008-04-10 12:54:35 +00:00
Michael Natterer e31bbcff9c plug-ins/pygimp/plug-ins/python-console.py fix new menu paths.
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.


svn path=/trunk/; revision=25459
2008-04-10 11:33:02 +00:00
Sven Neumann b7ff02819a flattened splash image.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: flattened splash image.

svn path=/trunk/; revision=25458
2008-04-10 08:30:48 +00:00
Sven Neumann c1dc1cf790 bumped version to 2.5.1.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.5.1.


svn path=/trunk/; revision=25454
2008-04-09 21:07:38 +00:00
Sven Neumann a51b3004ef Made 2.5.0 development release.
2008-04-09  Sven Neumann  <sven@gimp.org>

        * Made 2.5.0 development release.

svn path=/trunk/; revision=25450
2008-04-09 21:01:04 +00:00
Sven Neumann 35742009be fixed build of test-config.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am: fixed build of test-config.


svn path=/trunk/; revision=25449
2008-04-09 20:24:43 +00:00
Sven Neumann 5b5e0497bf plug-ins/script-fu/scripts/ts-helloworld.scm
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ts-helloworld.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/contactsheet.scm: register in new
	menu locations.


svn path=/trunk/; revision=25447
2008-04-09 17:24:05 +00:00
Sven Neumann ca5df86e47 corrected parameter description.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/border-average.c: corrected parameter 
description.


svn path=/trunk/; revision=25446
2008-04-09 17:21:05 +00:00
Sven Neumann b464c4f426 plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/pygimp/plug-ins/sphere.py: register in new menu 
locations.


svn path=/trunk/; revision=25445
2008-04-09 17:16:24 +00:00
Sven Neumann f8411b3547 register in new menu location.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/twain/twain.c: register in new menu location.


svn path=/trunk/; revision=25444
2008-04-09 17:12:00 +00:00
Sven Neumann 48c864acfb removed function name from debug output.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): 
removed
	function name from debug output.


svn path=/trunk/; revision=25443
2008-04-09 17:10:01 +00:00
Sven Neumann 338d35b025 plug-ins/win-snap/winsnap.c plug-ins/common/screenshot.c
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/win-snap/winsnap.c
	* plug-ins/common/screenshot.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: register in new menu 
locations.


svn path=/trunk/; revision=25442
2008-04-09 17:04:24 +00:00
Michael Natterer 63e9148785 enable and improve debug output for mapped menu paths.
2008-04-09  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): enable
	and improve debug output for mapped menu paths.


svn path=/trunk/; revision=25437
2008-04-09 15:37:45 +00:00
Sven Neumann b824df9b57 changed descriptions for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): changed
	descriptions for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX
	undo types again.

svn path=/trunk/; revision=25433
2008-04-09 14:42:32 +00:00
Sven Neumann 08a4422c1a disabled the language entry until it works.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptexteditor.c (gimp_text_editor_new): disabled
	the language entry until it works.

svn path=/trunk/; revision=25432
2008-04-09 14:16:45 +00:00
Sven Neumann e198bc4f2b better descriptions for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX undo
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): better descriptions
	for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX undo types.

	* app/core/gimplayer-floating-sel.c: corrected a comment.

svn path=/trunk/; revision=25431
2008-04-09 14:06:28 +00:00
Michael Natterer ed15144480 mention some more color tool and GEGL changes.
2008-04-09  Michael Natterer  <mitch@gimp.org>

	* NEWS: mention some more color tool and GEGL changes.


svn path=/trunk/; revision=25430
2008-04-09 12:11:06 +00:00
Sven Neumann 1bf5911cfa added mnemnic for "edit-paste-as-new" menu item.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c (edit_actions): added mnemnic for
	"edit-paste-as-new" menu item.

svn path=/trunk/; revision=25429
2008-04-09 11:10:12 +00:00
Michael Natterer e173c6facb add "File/New" submenu and an "Acquire" placeholder inside it. Removed
2008-04-09  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: add "File/New" submenu and an "Acquire"
	placeholder inside it. Removed "File/Acquire". Removed the "Xtns"
	menu.

	* app/plug-in/plug-in-menu-path.[ch] (plug_in_menu_path_map):
	add "menu_label" parameter and add support for mapping around
	individual menu items while preserving their translation and
	mnemonics. Add mappings for the known menus from "Xtns" and map
	them to "File/New".

	Map everything else in "Xtns" to "Filters/Extensions".

	* app/plug-in/gimppluginmanager-menu-branch.c
	(gimp_plug_in_manager_add_menu_branch): pass the menu_label so
	menu branches can be mapped with their translation.

	* app/plug-in/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): pass NULL because mapping
	menu items which have no submenu makes no sense and is redundant.

	* app/actions/image-actions.c: remove the "Xtns" menu action.

	* app/actions/file-actions.c: add action for the "File/New" menu
	and removed the "File/Acquire" action.

	* app/actions/edit-actions.c: rename "Paste as New" to
	"From Clipboard".

	* menus/image-menu.xml.in: add the "From Clipboard" action to the
	"File/New" menu.


svn path=/trunk/; revision=25427
2008-04-09 10:48:01 +00:00
Sven Neumann 3f2385dcc2 added new methods gimp_container_get_{first,last}_child().
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontainer.[ch]: added new methods
	gimp_container_get_{first,last}_child().

	* app/actions/file-actions.c (file_actions_close_all_update)
	* app/dialogs/layer-add-mask-dialog.c (layer_add_mask_dialog_new)
	* app/dialogs/palette-import-dialog.c (palette_import_image_callback)
	* app/gui/gui-vtable.c (gui_get_empty_display): 
	* app/widgets/gimpmenudock.c (gimp_menu_dock_image_changed): use
	the new GimpContainer methods.

	* app/core/gimpundostack.c: use the new GimpContainer methods and
	cleaned up the code.

svn path=/trunk/; revision=25426
2008-04-09 09:50:29 +00:00
Sven Neumann dc11be31bb plug-ins/script-fu/scripts/Makefile.am removed Sphere script. It's a nice
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
	script. It's a nice simple example but it has no real value.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed "<Toolbox>/Xtns/Misc".

svn path=/trunk/; revision=25424
2008-04-09 09:00:20 +00:00
Sven Neumann e6b09b6141 marked a message for translation. Declare 'val' as const and use an extra
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	marked a message for translation. Declare 'val' as const and use
	an extra variable where a not const variable is needed.

svn path=/trunk/; revision=25423
2008-04-09 08:54:01 +00:00
Sven Neumann 32d31eeb73 moved Languages to the bottom. Removed separator from the Filters list as
2008-04-09  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: moved Languages to the bottom.  Removed
	separator from the Filters list as there was really no rule as to
	what goes above and what goes below.

	* app/actions/plug-in-actions.c: added Filters->Decor submenu.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed registration of redundant menu branches.

svn path=/trunk/; revision=25422
2008-04-09 08:39:24 +00:00
Michael Natterer 5015460bc8 add placeholder "Help/Programming"
2008-04-08  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: add placeholder "Help/Programming"

	* plug-ins/common/plugin-browser.c
	* plug-ins/common/procedure-browser.c: move the plug-in and
	procedure browsers there.

	* menus/image-menu.xml.in: moved the (now by default empty)
	"Extensions" placeholder from "Xtns" to "Filters". Let's see what
	cruft shows up there.

	* app/plug-in/plug-in-menu-path.c: map "Xtns/Extensions" to
	"Filters/Extensions".


svn path=/trunk/; revision=25415
2008-04-08 18:31:56 +00:00
Michael Natterer 3aa63a431f Start getting rid of the "Xtns" menu:
2008-04-08  Michael Natterer  <mitch@gimp.org>

	Start getting rid of the "Xtns" menu:

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions):
	renamed "Module Manager" to "Modules".

	* menus/image-menu.xml.in: move it to "Edit/Preferences" for the
	time being so it doesn't block the removal of the "Xtns" menu.

	Move "Languages" placeholder from "Xtns" to "Filters".

	* app/plug-in/plug-in-menu-path.c (menu_path_mappings): map
	"Xtns/Languages" to "Filters/Languages".


svn path=/trunk/; revision=25414
2008-04-08 18:18:59 +00:00
Sven Neumann 2e3d75cc4b removed a redundant (and wrong) cast.
2008-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (myalloc): removed a redundant (and wrong)
	cast.

svn path=/trunk/; revision=25412
2008-04-08 09:38:11 +00:00
Sven Neumann 184bf5a900 plug-ins/pygimp/plug-ins/Makefile.am
2008-04-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am

        * plug-ins/pygimp/plug-ins/happy-valley-relief.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-eval.py: ... this.

        * plug-ins/pygimp/plug-ins/gimpcons.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-console.py: ... this.

svn path=/trunk/; revision=25411
2008-04-08 09:10:03 +00:00
Michael Natterer 231497046d set GDK_HINT_MIN_SIZE on dialogs which had no previous sessionrc entry.
2008-04-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_set_user_pos): set GDK_HINT_MIN_SIZE on
	dialogs which had no previous sessionrc entry. Fixes the minimum
	size of the very first empty display of a new GIMP installation
	and shouldn't have any ill effects on other windows.


svn path=/trunk/; revision=25409
2008-04-08 08:26:48 +00:00
Sven Neumann a6dd0be4b2 app/composite/gimp-composite-3dnow-test.c
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-3dnow-test.c
	* app/composite/gimp-composite-altivec-test.c
	* app/composite/gimp-composite-mmx-test.c
	* app/composite/gimp-composite-sse-test.c
	* app/composite/gimp-composite-sse2-test.c
	* app/composite/gimp-composite-vis-test.c: include <stdlib.h>


svn path=/trunk/; revision=25407
2008-04-07 21:17:25 +00:00
Michael Natterer e6f1563574 renamed to...
2008-04-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c: renamed to...

	* plug-ins/common/edge-neon.c: ...this. Some formatting cleanup.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.


svn path=/trunk/; revision=25405
2008-04-07 21:04:15 +00:00
Sven Neumann f1196fd405 added missing file.
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/gegl/Makefile.am (libappgegl_a_SOURCES): added missing 
file.

	* app/tools/tools-enums.c: regenerated.


svn path=/trunk/; revision=25404
2008-04-07 20:56:03 +00:00
Sven Neumann 959d391bfe tweaked verbose version output.
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/version.c (gimp_show_library_version): tweaked verbose
	version output.


svn path=/trunk/; revision=25402
2008-04-07 19:33:24 +00:00