[hamster-applet/gnome-2-30] be less popup-ee (don't jump to next focus after selecting previous. it had turned out to be rather



commit 2c861bc149b4cc7051c0e0816e7cdc1f9cde07df
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sat Apr 24 09:58:32 2010 +0100

    be less popup-ee (don't jump to next focus after selecting previous. it had turned out to be rather annoying. allow user to choos focus himself

 src/hamster/edit_activity.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/hamster/edit_activity.py b/src/hamster/edit_activity.py
index a7b51e8..e9445af 100644
--- a/src/hamster/edit_activity.py
+++ b/src/hamster/edit_activity.py
@@ -232,7 +232,6 @@ class CustomFactController:
 
     def on_start_date_entered(self, widget):
         self.validate_fields()
-        self.start_time.grab_focus()
 
     def on_start_time_entered(self, widget):
         start_time = self.start_time.get_time()
@@ -241,7 +240,6 @@ class CustomFactController:
 
         self.end_time.set_start_time(start_time)
         self.validate_fields()
-        self.end_time.grab_focus()
 
     def on_end_time_entered(self, widget):
         self.validate_fields()



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