diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-02-09 00:48:09 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-02-09 00:48:09 +0800 |
commit | 6827ac920dca38b8b8a2db9804da2ba348283568 (patch) | |
tree | e6c17b19bbfd752b4e858951d6a33fde99f3936f /e-util | |
parent | 3d3ac18e0ead1bd79aa8fe8d87e43b2fa28ec39c (diff) | |
download | gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.gz gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.bz2 gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.lz gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.xz gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.zst gsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.zip |
Don't handle C-Enter.
2001-02-08 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-event-processor-emacs-like.c
(e_text_event_processor_emacs_like_event): Don't handle C-Enter.
svn path=/trunk/; revision=8107
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-text-event-processor-emacs-like.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index bfba76885b..c369177f6a 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -303,14 +303,14 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro break; case GDK_Return: case GDK_KP_Enter: - if ((key.state & GDK_CONTROL_MASK) || (!tep->allow_newlines)) { - command.action = E_TEP_ACTIVATE; - command.position = E_TEP_SELECTION; - } else { + if (tep->allow_newlines) { command.action = E_TEP_INSERT; command.position = E_TEP_SELECTION; command.value = 1; command.string = "\n"; + } else { + command.action = E_TEP_ACTIVATE; + command.position = E_TEP_SELECTION; } break; case GDK_Escape: |