diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-10-27 22:48:20 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-10-27 22:48:20 +0800 |
commit | dfdfa72ec5b7d56e9b6894b491e3b00d9bd21be2 (patch) | |
tree | 959b75aac9c36dc36b3c953e90727b0e8de691ed /e-util/e-text-event-processor-emacs-like.c | |
parent | 0e9dae0eb6c2f22aeb8904c7d161d68133a385b7 (diff) | |
download | gsoc2013-evolution-dfdfa72ec5b7d56e9b6894b491e3b00d9bd21be2.tar.gz gsoc2013-evolution-dfdfa72ec5b7d56e9b6894b491e3b00d9bd21be2.tar.zst gsoc2013-evolution-dfdfa72ec5b7d56e9b6894b491e3b00d9bd21be2.zip |
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
Diffstat (limited to 'e-util/e-text-event-processor-emacs-like.c')
-rw-r--r-- | e-util/e-text-event-processor-emacs-like.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index 2910ec36ab..bfba76885b 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -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 { |