mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
tray icon by libappindicator with gtk_status_icon fallback added, unity launcher count added
This commit is contained in:
@@ -80,11 +80,14 @@ public slots:
|
||||
void psUpdateDelegate();
|
||||
void psSavePosition(Qt::WindowState state = Qt::WindowActive);
|
||||
void psIdleTimeout();
|
||||
void psShowTrayMenu();
|
||||
void psShowTrayMenu();
|
||||
|
||||
protected:
|
||||
|
||||
void psNotIdle() const;
|
||||
bool psHasTrayIcon() const {
|
||||
return trayIcon;
|
||||
}
|
||||
|
||||
bool posInited;
|
||||
QSystemTrayIcon *trayIcon;
|
||||
@@ -92,7 +95,8 @@ protected:
|
||||
QImage icon256, iconbig256;
|
||||
QIcon wndIcon;
|
||||
|
||||
virtual void setupTrayIcon() = 0;
|
||||
void psTrayMenuUpdated();
|
||||
void psSetupTrayIcon();
|
||||
|
||||
QTimer psUpdatedPositionTimer;
|
||||
|
||||
|
Reference in New Issue
Block a user