Commit f0fdd64f authored by GMT 1999 Austin Donnelly's avatar GMT 1999 Austin Donnelly Committed by Austin Donnelly
Browse files

tag text undo group with TEXT_UNDO rather than silly EDIT_PASTE_UNDO.

Wed Nov  3 22:36:21 GMT 1999 Austin Donnelly  <austin@gimp.org>

	* app/text_tool.c: tag text undo group with TEXT_UNDO rather than
	    silly EDIT_PASTE_UNDO.
	* app/undo.c: TEXT_UNDO name
	* undo_types.h: new type: TEXT_UNDO, plus fix numbering to make it
	    consistent (overlapping enums are bad).
parent 13ed6f27
Wed Nov 3 22:36:21 GMT 1999 Austin Donnelly <austin@gimp.org>
* app/text_tool.c: tag text undo group with TEXT_UNDO rather than
silly EDIT_PASTE_UNDO.
* app/undo.c: TEXT_UNDO name
* undo_types.h: new type: TEXT_UNDO, plus fix numbering to make it
consistent (overlapping enums are bad).
Wed Nov 3 18:44:50 GMT 1999 Nick Lamb <njl195@zepler.org>
* plug-ins/bmp/bmp.c
......
......@@ -49,6 +49,8 @@
#include "gimpparasite.h"
/*#define DEBUG*/
#ifdef DEBUG
#define TRC(x) printf x
#else
......@@ -2872,6 +2874,7 @@ static struct undo_name_t {
{FS_RIGOR, N_("FS rigor")},
{FS_RELAX, N_("FS relax")},
{GUIDE_UNDO, N_("guide")},
{TEXT_UNDO, N_("text")},
{FLOAT_MASK_UNDO, N_("float selection")},
{EDIT_PASTE_UNDO, N_("paste")},
{EDIT_CUT_UNDO, N_("cut")},
......
......@@ -730,7 +730,7 @@ text_render (GimpImage *gimage,
apply_mask_to_region (&textPR, &maskPR, OPAQUE_OPACITY);
/* Start a group undo */
undo_push_group_start (gimage, EDIT_PASTE_UNDO);
undo_push_group_start (gimage, TEXT_UNDO);
/* Set the layer offsets */
GIMP_DRAWABLE(layer)->offset_x = text_x;
......
......@@ -730,7 +730,7 @@ text_render (GimpImage *gimage,
apply_mask_to_region (&textPR, &maskPR, OPAQUE_OPACITY);
/* Start a group undo */
undo_push_group_start (gimage, EDIT_PASTE_UNDO);
undo_push_group_start (gimage, TEXT_UNDO);
/* Set the layer offsets */
GIMP_DRAWABLE(layer)->offset_x = text_x;
......
......@@ -730,7 +730,7 @@ text_render (GimpImage *gimage,
apply_mask_to_region (&textPR, &maskPR, OPAQUE_OPACITY);
/* Start a group undo */
undo_push_group_start (gimage, EDIT_PASTE_UNDO);
undo_push_group_start (gimage, TEXT_UNDO);
/* Set the layer offsets */
GIMP_DRAWABLE(layer)->offset_x = text_x;
......
......@@ -49,6 +49,8 @@
#include "gimpparasite.h"
/*#define DEBUG*/
#ifdef DEBUG
#define TRC(x) printf x
#else
......@@ -2872,6 +2874,7 @@ static struct undo_name_t {
{FS_RIGOR, N_("FS rigor")},
{FS_RELAX, N_("FS relax")},
{GUIDE_UNDO, N_("guide")},
{TEXT_UNDO, N_("text")},
{FLOAT_MASK_UNDO, N_("float selection")},
{EDIT_PASTE_UNDO, N_("paste")},
{EDIT_CUT_UNDO, N_("cut")},
......
......@@ -49,10 +49,10 @@ typedef enum
GIMAGE_MOD,
FS_RIGOR,
FS_RELAX,
GUIDE_UNDO, /* 18 */
GUIDE_UNDO,
TEXT_UNDO,
/* Aggregate undo types */
FLOAT_MASK_UNDO = 20,
FLOAT_MASK_UNDO,
EDIT_PASTE_UNDO,
EDIT_CUT_UNDO,
TRANSFORM_CORE_UNDO,
......@@ -61,13 +61,13 @@ typedef enum
FLOATING_LAYER_UNDO,
LINKED_LAYER_UNDO,
LAYER_APPLY_MASK_UNDO,
LAYER_MERGE_UNDO, /* 28 */
LAYER_MERGE_UNDO,
FS_ANCHOR_UNDO,
GIMAGE_MOD_UNDO,
CROP_UNDO,
LAYER_SCALE_UNDO,
LAYER_RESIZE_UNDO,
QMASK_UNDO, /* 34 */
QMASK_UNDO,
PARASITE_ATTACH_UNDO,
PARASITE_REMOVE_UNDO,
RESOLUTION_UNDO,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment