Added an "allow_newlines" argument.
2000-10-27 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c, gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an "allow_newlines" argument. svn path=/trunk/; revision=6226
This commit is contained in:

committed by
Chris Lahey

parent
0e9dae0eb6
commit
dfdfa72ec5
@ -303,7 +303,7 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
|
||||
break;
|
||||
case GDK_Return:
|
||||
case GDK_KP_Enter:
|
||||
if (key.state & GDK_CONTROL_MASK) {
|
||||
if ((key.state & GDK_CONTROL_MASK) || (!tep->allow_newlines)) {
|
||||
command.action = E_TEP_ACTIVATE;
|
||||
command.position = E_TEP_SELECTION;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user