[chronojump] Focus on name when creating or editing a person



commit 54ca75c97d6274fa4c9e54935ebcfd09ded46e07
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Dec 24 14:04:12 2015 +0100

    Focus on name when creating or editing a person

 src/gui/person.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/person.cs b/src/gui/person.cs
index 2740c16..b55e220 100644
--- a/src/gui/person.cs
+++ b/src/gui/person.cs
@@ -937,6 +937,9 @@ public class PersonAddModifyWindow
                        
                fakeButtonAccept = new Gtk.Button();
 
+               entry1.CanFocus = true;
+               entry1.IsFocus = true;
+
                if(adding) {
                        person_win.Title = Catalog.GetString ("New jumper");
                        //button_accept.Sensitive = false;


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