fix logic

This commit is contained in:
Nikos Kouremenos 2007-01-06 10:17:55 +00:00
parent 67c1816d01
commit 5099ae35bb

View file

@ -418,7 +418,7 @@ class ConversationTextview:
if tags: # we clicked on sth special (it can be status message too)
for tag in tags:
tag_name = tag.get_property('name')
if tag_name is not None and 'url' in tag_name or 'mail' in tag_name:
if tag_name is not None and tag_name in ('url', 'mail'):
return True # we block normal context menu
# we check if sth was selected and if it was we assign