gimp/app/display
Michael Natterer 370a16fafe don't allow to select anything but the floating selection. Fixes bug
2004-01-18  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c (gimp_image_set_active_layer): don't allow
	to select anything but the floating selection. Fixes bug #128025.

	(gimp_image_set_active_layer,channel,vectors): allow to pass NULL
	to unselect the active item. Removed the silly feature that
	passing some random item of another image would select the first
	item in the list (was unused anyway).

	(gimp_image_unset_active_channel): use gimp_image_set_active_channel()
	now that it accepts NULL.

	(gimp_image_add_layer,channel,vectors): cleaned up / simplified.

	(gimp_image_remove_layer,channel,vectors): cleanup,
	simplification, use gimp_image_set_active_layer,channel,vectors()
	now that they accept NULL, make sure the item next to the removed
	item becomes the active one (and not the first in the list, which
	was a severe usability problem in the dialogs).

	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel): pass
	NULL to the set_active functions, cleanup.

	* app/core/gimpimage-duplicate.c: attach the floating selection
	before setting the active layer. Code relied on broken
	gimp_image_set_active_layer() behaviour before.

	* app/core/gimplayer-floating-sel.c: no need to set
	gimage->floating_sel before calling gimp_image_add_layer(). The
	weird GUI mentioned in the comment existed in 1.2 only.

	* app/display/gimpdisplayshell-layer-select.c (layer_select_advance):
	don't assume that setting the active_layer always succeeds.

	* tools/pdbgen/pdb/image.pdb: behave as the documentation says
	and return an execution error if setting the active layer or
	channel failed.

	Unrelated:

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb: removed leftover cruft from the old
	guchar based color API.

	* tools/pdbgen/pdb/channel.pdb: simplified code which handles the
	channel's color.

	* app/pdb/channel_cmds.c
	* app/pdb/image_cmds.c: regenerated.
2004-01-18 12:16:44 +00:00
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
Makefile.am [ I've postponed my reservations against pangoft2/fontconfig/freetype2 2003-12-13 01:35:19 +00:00
display-enums.c app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-enums.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-types.h app/display/Makefile.am app/display/display-types.h added GimpCanvas, 2003-11-09 23:24:40 +00:00
gimpcanvas.c restore the cap_style and join_style properties for the XOR GdkGC to the 2003-12-17 12:59:06 +00:00
gimpcanvas.h added gimp_canvas_set_clip_region(). 2003-11-11 17:07:41 +00:00
gimpdisplay-area.c Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-area.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-foreach.c call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-foreach.h call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-handlers.c Fixed File->Revert, which was completely broken before: 2003-05-17 16:34:30 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c applied patch from Pedro Gimeno that makes sure we always invalidate 2004-01-12 11:11:27 +00:00
gimpdisplay.h removed gdisp->draw_guides and gdisp->snap_to_guides. 2003-03-20 11:31:33 +00:00
gimpdisplayoptions.c gimp/app/display/gimpdisplayoptions.c added blurbs to the remaining 2003-10-23 17:02:37 +00:00
gimpdisplayoptions.h changed PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be 2003-10-23 07:33:16 +00:00
gimpdisplayshell-appearance.c update shell->popup_factory only if this is the active display or we will 2003-11-11 13:09:50 +00:00
gimpdisplayshell-appearance.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
gimpdisplayshell-callbacks.c switch off fullscreen mode on Escape key press events only. The shell 2003-12-11 12:43:48 +00:00
gimpdisplayshell-callbacks.h app/display/gimpdisplayshell-callbacks.[ch] override 2003-02-25 19:12:11 +00:00
gimpdisplayshell-cursor.c added a GdkDisplay parameter and added the convenience function 2003-11-01 20:53:18 +00:00
gimpdisplayshell-cursor.h bumped the version number to 1.3.12. 2003-01-03 18:01:30 +00:00
gimpdisplayshell-dnd.c Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpdisplayshell-dnd.h added gimp_display_shell_drop_svg() (untested because there is no place to 2003-12-21 22:09:03 +00:00
gimpdisplayshell-draw.c some cosmetics while reviewing the code. 2004-01-03 20:51:36 +00:00
gimpdisplayshell-draw.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter-dialog.c libgimpwidgets/gimpwidgetsmarshal.list added signals ::added(), 2003-11-22 15:54:12 +00:00
gimpdisplayshell-filter-dialog.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.c forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-handlers.c app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c don't allow to select anything but the floating selection. Fixes bug 2004-01-18 12:16:44 +00:00
gimpdisplayshell-layer-select.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpdisplayshell-render.c forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-render.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
gimpdisplayshell-scale.c ensure that "fit image to window" really always fits, despite the 2004-01-11 12:55:45 +00:00
gimpdisplayshell-scale.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpdisplayshell-scroll.c Added support for permanently showing the visible vectors, not only when 2003-09-11 22:24:30 +00:00
gimpdisplayshell-scroll.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplayshell-selection.c added API docs for the less obvious functions. Gracefully handle attempts 2003-11-11 21:35:50 +00:00
gimpdisplayshell-selection.h some more cleanup. 2003-11-11 15:29:47 +00:00
gimpdisplayshell-title.c revert inadvertent change to gimpdisplayshell-title.c 2004-01-09 21:17:27 +00:00
gimpdisplayshell-title.h bumped the version number to 1.3.12. 2003-01-03 18:01:30 +00:00
gimpdisplayshell-transform.c Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpdisplayshell-transform.h Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpdisplayshell.c some cosmetics while reviewing the code. 2004-01-03 20:51:36 +00:00
gimpdisplayshell.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpnavigationeditor.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpnavigationeditor.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpnavigationview.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpnavigationview.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpprogress.c removed our own action_area API and use GtkDialog's one. Create all 2003-11-06 15:27:05 +00:00
gimpprogress.h app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c 2003-08-08 19:30:23 +00:00
gimpstatusbar.c app/core/Makefile.am added small wrappers to ease handling of image units 2003-10-01 17:32:14 +00:00
gimpstatusbar.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
makefile.msc still unacceptable patched to compile without FT2, see bug #113681 2003-11-16 21:20:14 +00:00