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



commit f1ab0060be1b8906aa091ac11c4c43535dbf658f
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 0308b3e..6141216 100644
--- a/src/hamster/edit_activity.py
+++ b/src/hamster/edit_activity.py
@@ -250,7 +250,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()
@@ -259,7 +258,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]