Improve detection of system tray support

Closes #2045
This commit is contained in:
Patrick Griffis committed 2017-08-31 10:16:03 -04:00
1 parent 281038e725
commit d99cd18fb9
8 files changed
+50 -21

No files matched your search

-12
View File
@@ -1363,18 +1363,6 @@ portable_mode (void)
#endif
}
int
unity_mode (void)
{
#ifdef G_OS_UNIX
const char *env = g_getenv("XDG_CURRENT_DESKTOP");
if (env && (strcmp (env, "Unity") == 0
|| strcmp (env, "Pantheon") == 0))
return 1;
#endif
return 0;
}
char *
encode_sasl_pass_plain (char *user, char *pass)
{