gajim could not start if useeemoticons = False

This commit is contained in:
Nikos Kouremenos 2005-11-15 14:17:02 +00:00
parent 014fe4bfef
commit 2357e0ae96
1 changed files with 1 additions and 0 deletions

View File

@ -1064,6 +1064,7 @@ class Interface:
basic_pattern = links + mail + formatting basic_pattern = links + mail + formatting
self.basic_pattern_re = sre.compile(basic_pattern, sre.IGNORECASE) self.basic_pattern_re = sre.compile(basic_pattern, sre.IGNORECASE)
emoticons_pattern = ''
if gajim.config.get('useemoticons'): if gajim.config.get('useemoticons'):
# When an emoticon is bordered by an alpha-numeric character it is NOT # When an emoticon is bordered by an alpha-numeric character it is NOT
# expanded. e.g., foo:) NO, foo :) YES, (brb) NO, (:)) YES, etc. # expanded. e.g., foo:) NO, foo :) YES, (brb) NO, (:)) YES, etc.