Removed type constant, which are reserved for types derived from MessageControl
This commit is contained in:
		
							parent
							
								
									0d28a9dc58
								
							
						
					
					
						commit
						a27c648e64
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue