A condition typo
This commit is contained in:
parent
63d1ef9e43
commit
7b2d351003
|
@ -624,7 +624,7 @@ class RosterTooltip(NotificationAreaTooltip):
|
||||||
# Do not show the "Idle since" and "Idle for" items if there
|
# Do not show the "Idle since" and "Idle for" items if there
|
||||||
# is no meaningful difference between last activity time and
|
# is no meaningful difference between last activity time and
|
||||||
# current time.
|
# current time.
|
||||||
if diff.days > 0 and diff.seconds > 0:
|
if diff.days > 0 or diff.seconds > 0:
|
||||||
cs = "<span foreground='#888A85'>%s</span>"
|
cs = "<span foreground='#888A85'>%s</span>"
|
||||||
properties.append((str(), None))
|
properties.append((str(), None))
|
||||||
properties.append(((cs % _("Idle since %s")) % formatted, None))
|
properties.append(((cs % _("Idle since %s")) % formatted, None))
|
||||||
|
|
Loading…
Reference in New Issue