[hamster-applet] fixed selection glitch with deltas
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed selection glitch with deltas
- Date: Thu, 19 Nov 2009 22:05:06 +0000 (UTC)
commit 01c65c648a448c13c548747b527466360518a50b
Author: Toms Bauģis <toms baugis gmail com>
Date: Thu Nov 19 19:54:41 2009 +0000
fixed selection glitch with deltas
hamster/widgets/activityentry.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/hamster/widgets/activityentry.py b/hamster/widgets/activityentry.py
index 14e5b10..7e70900 100644
--- a/hamster/widgets/activityentry.py
+++ b/hamster/widgets/activityentry.py
@@ -204,8 +204,8 @@ class ActivityEntry(gtk.Entry):
if activity['category']:
fillable += "@%s" % activity['category']
- if time:
- fillable = "%s %s" % (time, fillable)
+ if time: #as we also support deltas, for the time we will grab anything up to first space
+ fillable = "%s %s" % (self.filter.split(" ", 1)[0], fillable)
store.append([fillable, activity['name'], activity['category'], time])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]