win32: check against 2,8 for gtk too
This commit is contained in:
		
							parent
							
								
									e6981f6f2b
								
							
						
					
					
						commit
						14588f5e0f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1749,7 +1749,8 @@ class Interface:
 | 
			
		|||
			gajim.log.setLevel(None)
 | 
			
		||||
		
 | 
			
		||||
		# pygtk2.8 on win, breaks io_add_watch. We use good old select.select()
 | 
			
		||||
		if os.name == 'nt' and gtk.pygtk_version > (2, 8, 0):
 | 
			
		||||
		if os.name == 'nt' and (gtk.pygtk_version > (2, 8, 0) or 
 | 
			
		||||
			gtk.gtk_version > (2, 8, 0)):
 | 
			
		||||
			gajim.idlequeue = idlequeue.SelectIdleQueue()
 | 
			
		||||
		else:
 | 
			
		||||
			# in a nongui implementation, just call:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue