[hamster-applet] fixed merging bugs
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] fixed merging bugs
- Date: Mon, 18 May 2009 16:35:18 -0400 (EDT)
commit 3d16e94a84193cded4787a7d41887545884d095c
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon May 18 21:33:42 2009 +0100
fixed merging bugs
---
hamster/applet.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hamster/applet.py b/hamster/applet.py
index 0662e65..55f8927 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -406,7 +406,7 @@ Now, start tracking!
path = tree.get_path_at_pos(pointer[0], pointer[1]) #column, innerx, innery
if path and path[1] == self.edit_column:
- self._open_edit_activity()
+ self._open_edit_activity()
return True
return False
@@ -711,7 +711,7 @@ Now, start tracking!
(model, iter) = selection.get_selected()
fact_id = model[iter][0]
- custom_fact = CustomFactController(None, fact_id)
+ custom_fact = CustomFactController(self, None, fact_id)
custom_fact.show()
def on_today_row_activated(self, tree, path, column):
@@ -727,7 +727,8 @@ Now, start tracking!
description = description.decode('utf8', 'replace')
activity_name = "%s, %s" % (activity_name, description)
- self.add_fact(activity_name)
+ storage.add_fact(activity_name)
+ dispatcher.dispatch('panel_visible', False)
def on_windows_keys(self, tree, event_key):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]