Startup: Unity has no proper Systray implementation

...so it can't respond to isSysTrayAvailable()
This commit is contained in:
Daniel Molkentin 2013-08-28 15:45:22 +02:00
parent d1451a3c90
commit 18a58f73de

View file

@ -39,7 +39,7 @@ int main(int argc, char **argv)
} }
return 0; return 0;
} else { } else {
if (!QSystemTrayIcon::isSystemTrayAvailable()) { if (!QSystemTrayIcon::isSystemTrayAvailable() && qgetenv("DESKTOP_SESSION") != "ubuntu") {
QMessageBox::critical(0, qApp->translate("main.cpp", "System Tray not available"), QMessageBox::critical(0, qApp->translate("main.cpp", "System Tray not available"),
qApp->translate("main.cpp", "%1 requires on a working system tray. " qApp->translate("main.cpp", "%1 requires on a working system tray. "
"If you are running XFCE, please follow " "If you are running XFCE, please follow "