[gcompris] Now wordprocessor activity has the focus into the editing part by default.



commit 89c6a2a12340c72875a8461e735bd3df14a505d5
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Fri Oct 16 22:09:33 2009 +0200

    Now wordprocessor activity has the focus into the editing part by default.

 src/boards/wordprocessor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/boards/wordprocessor.c b/src/boards/wordprocessor.c
index 27aad41..c6b1d28 100644
--- a/src/boards/wordprocessor.c
+++ b/src/boards/wordprocessor.c
@@ -414,6 +414,8 @@ static GnomeCanvasItem *wordprocessor_create()
   /* Now we can create the tags */
   create_tags(buffer, doctype_list[0]);
 
+  gtk_widget_grab_focus(view);
+
   return NULL;
 }
 



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