mirror of
https://github.com/moparisthebest/hexchat
synced 2024-10-31 15:35:03 -04:00
Disable tray support on Elementary
They followed Ubuntu in breaking any gtk trays..
This commit is contained in:
parent
5914cd9e62
commit
66958b3fe1
@ -1893,7 +1893,8 @@ unity_mode ()
|
|||||||
{
|
{
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
const char *env = g_getenv("XDG_CURRENT_DESKTOP");
|
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;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user