[hamster-applet] start activities on Enter key
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] start activities on Enter key
- Date: Sat, 26 Dec 2009 13:43:57 +0000 (UTC)
commit af842e0acbf408eae4948b5c05f584b89881944d
Author: Toms Bauģis <toms baugis gmail com>
Date: Sat Dec 26 13:43:39 2009 +0000
start activities on Enter key
hamster/applet.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/hamster/applet.py b/hamster/applet.py
index a30ab74..b7039ba 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -230,6 +230,7 @@ class HamsterApplet(object):
self.window = self._gui.get_object('hamster-window')
self.new_name = widgets.ActivityEntry()
+ self.new_name.connect("value-entered", self.on_switch_activity_clicked)
widgets.add_hint(self.new_name, _("Time and Name"))
self.get_widget("new_name_box").add(self.new_name)
self.new_name.connect("changed", self.on_activity_text_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]