aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-09 00:48:09 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-09 00:48:09 +0800
commit6827ac920dca38b8b8a2db9804da2ba348283568 (patch)
treee6c17b19bbfd752b4e858951d6a33fde99f3936f /widgets
parent3d3ac18e0ead1bd79aa8fe8d87e43b2fa28ec39c (diff)
downloadgsoc2013-evolution-6827ac920dca38b8b8a2db9804da2ba348283568.tar.gz
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 'widgets')
-rw-r--r--widgets/text/e-text-event-processor-emacs-like.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/text/e-text-event-processor-emacs-like.c b/widgets/text/e-text-event-processor-emacs-like.c
index bfba76885b..c369177f6a 100644
--- a/widgets/text/e-text-event-processor-emacs-like.c
+++ b/widgets/text/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:
d-ports-gnome/commit/mbone?h=mate-1.16&id=81a18620cd9f97dd439f06b96f3e5bc76b08fdac'>Unbreak by forcing gcc 3.2. Bump PORTREVISION since it might changefenner2006-12-041-5/+2 * - Respect X11BASErafan2006-12-011-0/+2 * - Now X11BASE, CC, CFLAGS is respected in files/patch-aarafan2006-12-011-5/+0 * Respect X11BASE and LOCALBASEkris2006-12-013-17/+17 * Respect X11BASE, CC and CFLAGSkris2006-12-011-7/+9 * - Respect CC, CFLAGSrafan2006-11-301-0/+5 * Fix breakage due to audio/gsm import.sobomax2006-08-151-1/+1 * Factor OSVERSION out of BROKEN/IGNORE strings to make them more consistentlinimon2006-07-243-3/+3 * Remove USE_REINPLACE from ports starting with Medwin2006-05-113-3/+0 * Fix on 6.xerwin2006-04-283-1/+26 * Reset maintainer at his request.linimon2006-04-191-1/+1 * Update to 1.18.sobomax2006-03-163-11/+14 * SHA256ifyedwin2006-02-013-0/+3 * SHA256ifyedwin2006-01-229-0/+9 * Fix breakage caused by time_t change.trhodes2006-01-012-0/+81 * Respect LOCALBASEmnag2005-12-053-3/+4 * Fix maintainers email addressedwin2005-12-051-1/+1 * - Add SHA256pav2005-11-254-0/+4 * Switch to <target>:: convention for both patch-autotools and run-autotools,ade2005-11-191-1/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-154-4/+4 * Look for -luclmmbase under LOCALBASE instead of PREFIX (which ismi2005-03-236-31/+175 * Upgrade devel/uclmmbase and mbone/vic to their latest respectedmi2005-03-2114-100/+188 * Drop maintainershiplioux2005-03-111-1/+1 * Fix fetch: Tarballed rerolled, no differencesvs2005-02-221-2/+2 * Fix MASTER_SITES.krion2005-02-191-1/+1 * Fix maintainer's email.krion2004-12-241-1/+1 * Change maintainer's email.krion2004-12-231-1/+1 * Add DOCSDIR and fix pkg-plist.krion2004-12-131-0/+1 * - Fix build on 5.xpav2004-11-052-4/+14 * BROKEN on 5.x: Does not compilekris2004-09-291-1/+7 * BROKEN on 5.x: Does not compilekris2004-09-261-0/+4 * Fix build on 5.x.linimon2004-08-232-4/+200 * Fix build.krion2004-08-221-1/+1 * Fix more hardcoding of imake-4 port directory to use X_IMAKE_PORT.anholt2004-08-191-1/+1