2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-03 13:07:48 +00:00

Replace libnotify with QtDBus notification implementation (#6825)

This commit is contained in:
ilya-fedin
2019-12-29 15:41:45 +00:00
committed by John Preston
parent 9071d7b8c0
commit 3d36b4f866
8 changed files with 371 additions and 684 deletions

View File

@@ -274,13 +274,6 @@ void MainWindow::psSetupTrayIcon() {
}
trayIcon->setIcon(icon);
// This is very important for native notifications via libnotify!
// Some notification servers compose several notifications with a "Reply"
// action into one and after that a click on "Reply" button does not call
// the specified callback from any of the sent notification - libnotify
// just ignores ibus messages, but Qt tray icon at least emits this signal.
connect(trayIcon, SIGNAL(messageClicked()), this, SLOT(showFromTray()));
attachToTrayIcon(trayIcon);
}
updateIconCounters();