From 20b8f6e7a7539b3c0d53893fadb72b692231ce3d Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 26 Sep 2001 10:03:25 +0000 Subject: Made it so that if allow_newlines is FALSE, pasting into ETexts doesn't 2001-09-26 Christopher James Lahey * gal/e-text/e-text.c, gal/e-text/e-text.h (_insert): Made it so that if allow_newlines is FALSE, pasting into ETexts doesn't insert carriage returns. Fixes Ximian bug #5761 and Ximian bug #9067. svn path=/trunk/; revision=13143 --- widgets/text/e-text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/text/e-text.h') diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index b3126bf291..f8e2968dee 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -207,6 +207,7 @@ struct _EText { guint strikeout : 1; guint tooltip_owner : 1; + guint allow_newlines : 1; EFontStyle style; -- cgit