From 7b2d351003923d058a5b53aede8899ecf8e13fea Mon Sep 17 00:00:00 2001 From: Alexander Cherniuk Date: Sat, 3 Apr 2010 18:40:40 +0300 Subject: [PATCH] A condition typo --- src/tooltips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooltips.py b/src/tooltips.py index 798e24979..9c2c56958 100644 --- a/src/tooltips.py +++ b/src/tooltips.py @@ -624,7 +624,7 @@ class RosterTooltip(NotificationAreaTooltip): # Do not show the "Idle since" and "Idle for" items if there # is no meaningful difference between last activity time and # current time. - if diff.days > 0 and diff.seconds > 0: + if diff.days > 0 or diff.seconds > 0: cs = "%s" properties.append((str(), None)) properties.append(((cs % _("Idle since %s")) % formatted, None))