Disable tray support on Elementary
They followed Ubuntu in breaking any gtk trays..
This commit is contained in:
		
							parent
							
								
									aa7291fc9c
								
							
						
					
					
						commit
						f1e853c1cb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1547,7 +1547,8 @@ unity_mode ()
 | 
			
		|||
{
 | 
			
		||||
#ifdef G_OS_UNIX
 | 
			
		||||
	const char *env = g_getenv("XDG_CURRENT_DESKTOP");
 | 
			
		||||
	if (env && strcmp (env, "Unity") == 0)
 | 
			
		||||
	if (env && (strcmp (env, "Unity") == 0
 | 
			
		||||
			|| strcmp (env, "Pantheon") == 0))
 | 
			
		||||
		return 1;
 | 
			
		||||
#endif
 | 
			
		||||
	return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue