Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2013-08-28 17:45:22 +0400
committerDaniel Molkentin <danimo@owncloud.com>2013-08-28 17:45:52 +0400
commit18a58f73de4f566ae65e6ba20586364419696f45 (patch)
treeae95f2bef2d72733d8d4d82703e626fd0cd71231
parentd1451a3c90c6255212f2a865e43a6a015618f62e (diff)
Startup: Unity has no proper Systray implementationv1.4.0-rc1
...so it can't respond to isSysTrayAvailable()
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a1ee1d6ec..7decca57a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
}
return 0;
} else {
- if (!QSystemTrayIcon::isSystemTrayAvailable()) {
+ if (!QSystemTrayIcon::isSystemTrayAvailable() && qgetenv("DESKTOP_SESSION") != "ubuntu") {
QMessageBox::critical(0, qApp->translate("main.cpp", "System Tray not available"),
qApp->translate("main.cpp", "%1 requires on a working system tray. "
"If you are running XFCE, please follow "