roster postion is saved when roster
window is not visible
This commit is contained in:
		
							parent
							
								
									9bfdf092e8
								
							
						
					
					
						commit
						b093ce9da7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1520,7 +1520,7 @@ _('If "%s" accepts this request you will know his status.') %jid)
 | 
			
		|||
		'''When we quit the gtk plugin :
 | 
			
		||||
		tell that to the core and exit gtk'''
 | 
			
		||||
		if gajim.config.get('saveposition'):
 | 
			
		||||
			x, y = self.window.get_position()
 | 
			
		||||
			x, y = self.window.window.get_root_origin()
 | 
			
		||||
			gajim.config.set('roster_x-position', x)
 | 
			
		||||
			gajim.config.set('roster_y-position', y)
 | 
			
		||||
			width, height = self.window.get_size()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue