Removed type constant, which are reserved for types derived from MessageControl

This commit is contained in:
Travis Shirk 2006-01-28 03:46:47 +00:00
parent 0d28a9dc58
commit a27c648e64
2 changed files with 1 additions and 2 deletions

View File

@ -1398,7 +1398,7 @@ class Interface:
ev = gajim.get_first_event(account, jid, typ)
# Open the window
self.roster.open_event(account, jid, ev)
elif typ == message_control.TYPE_GMAIL:
elif typ == 'gmail':
if gajim.config.get_per('accounts', account, 'savepass'):
url = ('http://www.google.com/accounts/ServiceLoginAuth?service=mail&Email=%s&Passwd=%s&continue=https://mail.google.com/mail') % (gajim.config.get_per('accounts', account, 'name'),gajim.config.get_per('accounts', account, 'password'))
else:

View File

@ -24,7 +24,6 @@ from common import gajim
TYPE_CHAT = 'chat'
TYPE_GC = 'gc'
TYPE_PM = 'pm'
TYPE_GMAIL = 'gmail'
####################
# FIXME: Can't this stuff happen once?