[gnumeric] [ui] Only walk selection in the edit line.



commit e195e7a4d462b91bc1095b8818f62afd718319ad
Author: Jody Goldberg <jody gnome org>
Date:   Thu Jan 14 08:46:34 2010 -0500

    [ui] Only walk selection in the edit line.

 NEWS                              |    1 +
 src/widgets/gnumeric-expr-entry.c |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index f5755ab..6147085 100644
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,7 @@ Jody:
 	* Fix use of ExprEntry from glade on win32.
 	* More win32 build fixes (xslt for libgda & poppler).
 	* Fix pango test harness.
+	* Fix use of Tab in ExprEntry for gurus.
 
 Morten:
 	* Fix GCD border case.  [#606870]
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index 6daf732..ab1c486 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -625,7 +625,11 @@ cb_gee_key_press_event (GtkEntry	*entry,
 
 	case GDK_Tab:
 	case GDK_ISO_Left_Tab:
-	case GDK_KP_Tab: {
+	case GDK_KP_Tab:
+		/* Tab is only applicable for the main entry */
+		if (!wbcg_is_editing (wbcg))
+			break;
+		{
 		SheetView *sv;
 		WBCEditResult result;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]