gimp/app/tools
Michael Natterer 1eee624d25 if there is a floating selection, anchor it before adding the text layer.
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): if there
	is a floating selection, anchor it before adding the text layer.
	Fixes bug #127451.

	Also fixed some issues with undo. Addresses, but does not fix
	bug #124969 and bug #130985.
2004-01-19 17:21:53 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
Makefile.am [ I've postponed my reservations against pangoft2/fontconfig/freetype2 2003-12-13 01:35:19 +00:00
gimp-tools.c Replaced the histogram tool by a histogram dialog: 2003-11-01 02:39:34 +00:00
gimp-tools.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrushtool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpairbrushtool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpblendoptions.c app/tools/gimpblendoptions.c (gimp_blend_options_gui) 2003-12-12 11:41:08 +00:00
gimpblendoptions.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimpblendtool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c removed GimpTool::cursor_update() implementation (which was there only to 2004-01-02 17:36:45 +00:00
gimpbrushtool.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpbucketfilloptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpbucketfilloptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpbucketfilltool.c removed the _clear() wrapper. 2003-09-03 14:22:38 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c add gimp_int_option_menu_set_sensitive and 2003-11-14 23:17:38 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorizetool.c changed the range of the "lightness" parameter to [-100..+100], where -100 2003-11-18 16:06:47 +00:00
gimpcolorizetool.h changed the range of the "lightness" parameter to [-100..+100], where -100 2003-11-18 16:06:47 +00:00
gimpcoloroptions.c app/tools/gimpblendoptions.c (gimp_blend_options_gui) 2003-12-12 11:41:08 +00:00
gimpcoloroptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpcolorpickeroptions.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolorpickeroptions.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolorpickertool.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:32:38 +00:00
gimpcolorpickertool.h new enum GimpColorFrameMode. 2003-10-15 15:16:50 +00:00
gimpcolortool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolortool.h Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpconvolvetool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c app/tools/gimpcropoptions.c revert back to "Current". 2003-10-19 16:04:01 +00:00
gimpcropoptions.h don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
gimpcroptool.c do a proper fix for bug #131680. 2004-01-16 16:13:56 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
gimpcurvestool.h added a hack that allows to render the histogram in a brighter color. 2003-12-11 23:35:17 +00:00
gimpdodgeburntool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +00:00
gimpdrawtool.h app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +00:00
gimpeditselectiontool.c Enabled/fixed moving of channels and layer masks (was something between 2004-01-12 14:13:24 +00:00
gimpeditselectiontool.h Enabled/fixed moving of channels and layer masks (was something between 2004-01-12 14:13:24 +00:00
gimpellipseselecttool.c app/tools/gimpellipseselecttool.c app/tools/gimprectselectool.c Includes 2003-11-15 23:39:37 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpflipoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpfliptool.c should actually call gimp_item_flip() on the path to transform. Fixes bug 2003-10-31 09:38:04 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpfreeselecttool.h app/tools/gimpfreeselecttool.[ch] added the possibility to <alt>+drag the 2003-05-27 11:52:03 +00:00
gimpfuzzyselecttool.c restore the cap_style and join_style properties for the XOR GdkGC to the 2003-12-17 12:59:06 +00:00
gimpfuzzyselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimphistogramoptions.c make it a two-way connection and added a property_name parameter so it can 2003-10-25 17:25:34 +00:00
gimphistogramoptions.h app/tools/Makefile.am new tool options class GimpHistogramOptions, derived 2003-10-24 08:12:21 +00:00
gimphuesaturationtool.c libgimpwidgets/gimpquerybox.c configure the labels in the message dialog 2003-11-14 15:33:40 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c update shell->popup_factory only if this is the active display or we will 2003-11-11 13:09:50 +00:00
gimpimagemaptool.h app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpinkoptions-gui.c app/tools/gimpblendoptions.c (gimp_blend_options_gui) 2003-12-12 11:41:08 +00:00
gimpinkoptions-gui.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinkoptions.c app/tools/gimpblendoptions.c (gimp_blend_options_gui) 2003-12-12 11:41:08 +00:00
gimpinkoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinktool-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpinktool-blob.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpinktool.c use gimp_drawable_bytes_with_alpha(). 2004-01-18 20:37:41 +00:00
gimpinktool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpiscissorstool.c added GimpScanConvert typedef. 2003-10-09 11:30:49 +00:00
gimpiscissorstool.h app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested 2003-07-02 18:01:19 +00:00
gimplevelstool.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
gimplevelstool.h code cleanup; draw in the expose_event handler only. 2004-01-18 23:23:48 +00:00
gimpmagnifyoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpmagnifyoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmagnifytool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasureoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasuretool.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:32:38 +00:00
gimpmeasuretool.h don't use InfoDialog; always display pixels and real-world units in the 2003-10-20 17:36:18 +00:00
gimpmoveoptions.c app/tools/gimpcropoptions.c revert back to "Current". 2003-10-19 16:04:01 +00:00
gimpmoveoptions.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpmovetool.c Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimpmovetool.h call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimppaintbrushtool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c support '|'-separated lists of dialog identifiers and raise any of them if 2003-11-18 12:28:15 +00:00
gimppaintoptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimppainttool.c removed GimpTool::cursor_update() implementation (which was there only to 2004-01-02 17:36:45 +00:00
gimppainttool.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimppenciltool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimppenciltool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpperspectivetool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c remove unused variables. 2003-11-16 20:13:42 +00:00
gimprectselecttool.h app/tools/gimpellipseselecttool.c app/tools/gimprectselectool.c Includes 2003-11-15 23:39:37 +00:00
gimpregionselecttool.c restore the cap_style and join_style properties for the XOR GdkGC to the 2003-12-17 12:59:06 +00:00
gimpregionselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimprotatetool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpselectionoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpselectiontool.c added "GimpVectorMode saved_mode" to the GimpVectorTool struct. 2003-09-17 11:16:55 +00:00
gimpselectiontool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsheartool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c fixed table packing. 2003-12-31 00:42:35 +00:00
gimptextoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptexttool.c if there is a floating selection, anchor it before adding the text layer. 2004-01-19 17:21:53 +00:00
gimptexttool.h if there is a floating selection, anchor it before adding the text layer. 2004-01-19 17:21:53 +00:00
gimpthresholdtool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
gimptool.h Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
gimptoolcontrol.c removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptoolcontrol.h removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptooloptions-gui.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptooloptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformoptions.c it's GIMP_INTERPOLATION_LINEAR, not just GIMP_LINEAR, argh. Fixes part 1 2003-08-26 17:33:25 +00:00
gimptransformoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformtool-undo.c added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
gimptransformtool-undo.h app/tools/gimptransformtool.c removed old path undo stuff. 2003-05-18 10:44:09 +00:00
gimptransformtool.c libgimpwidgets/gimpquerybox.c configure the labels in the message dialog 2003-11-14 15:33:40 +00:00
gimptransformtool.h app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpvectoroptions.c Since GimpVectorTool is no GimpSelectionTool, it does not make sense to 2003-11-14 23:10:24 +00:00
gimpvectoroptions.h Since GimpVectorTool is no GimpSelectionTool, it does not make sense to 2003-11-14 23:10:24 +00:00
gimpvectortool.c Fixed missing undo step when moving (components of) the path. Don't add an 2003-12-31 02:10:09 +00:00
gimpvectortool.h Fixed missing undo step when moving (components of) the path. Don't add an 2003-12-31 02:10:09 +00:00
makefile.msc still unacceptable patched to compile without FT2, see bug #113681 2003-11-16 21:20:14 +00:00
tool_manager.c Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
tool_manager.h Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
tools-enums.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
tools-enums.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
tools-types.h app/display/display-types.h app/tools/tools-types.h 2003-09-07 10:29:10 +00:00