2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-07 10:05:13 +00:00
Commit Graph

116 Commits

Author SHA1 Message Date
ilya-fedin
3189a8ebfe Fix custom icon with XEmbed tray (#51) 2020-05-24 19:21:52 +03:00
ilya-fedin
79d3918210 Add new tray icon options (#46)
* Update icon without restart
* Turn TDESKTOP_DISABLE_TRAY_COUNTER into option
* Fix custom icon for mac
* Turn KTGDESKTOP_USE_TELEGRAM_PANEL_ICON into option in setitngs
2020-05-18 00:35:08 +03:00
RadRussianRus
7de3002c8c Merge remote-tracking branch 'tdesktop/dev' into dev 2020-05-05 17:27:04 +03:00
Ilya Fedin
13c2d6ff72 Detect global menu at runtime 2020-05-05 09:54:35 +04:00
ilya-fedin
a240ae5b84 Custom icons should have priority (#35) 2020-05-04 17:42:59 +03:00
Ilya Fedin
5180d31b40 Fix decoration applying and trigger repainting on update
For some reason this is needed for newer Qt in flatpak
2020-05-02 16:29:00 +04:00
RadRussianRus
f0ebf2f255 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-05-01 18:02:14 +03:00
Ilya Fedin
161e51757c Change color of wayland decoration according to theme 2020-05-01 12:26:10 +04:00
RadRussianRus
5236413fc5 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-04-24 16:27:47 +03:00
Ilya Fedin
41d39012d2 Synchronize AppMenu availability check with Qt 2020-04-21 14:06:03 +04:00
Ilya Fedin
a1a7399023 Don't remove SNI object when SNI is lost 2020-04-13 10:43:37 +04:00
RadRussianRus
8aa9c4aa6d Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-30 22:02:19 +03:00
RadRussianRus
91a5942273 More app name replaces 2020-03-30 16:06:41 +03:00
Ilya Fedin
86b9927965 Log global menu usage 2020-03-29 14:17:11 +04:00
RadRussianRus
9ed04afee8 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-28 05:05:42 +03:00
Ilya Fedin
13e8b60d6c Don't recreate tray icon if it is disabled 2020-03-24 17:21:00 +04:00
Ilya Fedin
d2291f5b17 Fix panel icon forcing 2020-03-19 01:02:15 +04:00
RadRussianRus
13928807b5 New logo and option to change icon 2020-03-18 08:06:34 +03:00
RadRussianRus
b119ce78fd Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-17 23:41:32 +03:00
ilya-fedin
5a43bb708d Environment variable to use telegram panel icons (#13) 2020-03-17 22:14:25 +03:00
ilya-fedin
06e5dd6145 Avoid converting with custom icon (#12) 2020-03-16 21:58:00 +03:00
Ilya Fedin
9823615a84 Check if icon has desired size when saving 2020-03-16 16:57:22 +04:00
Ilya Fedin
da926d7f10 Disable SNI tray icon name setting in snap
Otherwise there are a dummy icon when tray counter is disabled
2020-03-16 13:03:53 +04:00
RadRussianRus
9c7d8cc1e1 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-03-14 18:17:17 +03:00
John Preston
fec6a8dd96 Beta version 1.9.20: Fix build without dbus. 2020-03-14 16:13:33 +04:00
Ilya Fedin
46445e0542 Implement global menu on Linux 2020-03-14 15:32:10 +04:00
Ilya Fedin
5f33abd391 Change tray implementation on demand 2020-03-14 15:26:13 +04:00
Ilya Fedin
75d54adfce Add TDESKTOP_FORCE_PANEL_ICON environment variable for possibility to use system icon even if it is not detected 2020-03-13 11:00:09 +04:00
RadRussianRus
1cf2a336b7 Custom tray and taskbar icon 2020-03-08 20:20:53 +03:00
Ilya Fedin
3fb6bbeae4 Optimize icon regeneration 2020-03-06 18:28:56 +04:00
Ilya Fedin
7202ffca76 Remove unneeded TrayIconFileTemplate function
Use /.flatpak-info instead of deprecated /run/user/$UID/flatpak-info

Improve indentation in UseXDGDesktopPortal and IsAppIndicator

Remove unneeded NeedTrayIconFile and rename IsAppIndicator to IsIndicatorApplication

Include only needed part of QtDBus in main_window_linux.cpp

Remove usage of QDBusInterface from SandboxAutostart and IsSNIAvailable

Don't check dbus activatable services in IsIndicatorApplication

Move XEmbed menu initialization to initTrayMenuHook, tray availability check to initHook

Don't create unneeded file for tooltip icon, since indicator-application doesn't support tooltips

Passthrough counter from updateIconCounters

Suppress log errors for LastUserInputTime on GNOME

Set applcation name and icon name for pulseaudio
2020-03-06 18:28:56 +04:00
Ilya Fedin
7bd0598555 Unified function to detect icon name on Linux 2020-02-27 15:17:32 +04:00
RadRussianRus
6aa631cba9 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-02-26 02:22:54 +03:00
Ilya Fedin
9979c220ce Multiple sizes for linux tray icon 2020-02-24 19:57:42 +04:00
Ilya Fedin
db2aa7000a Fallback to non-panel icon when tray counter is disabled 2020-02-21 18:25:08 +04:00
Ilya Fedin
5bdc0db9e2 Generalize backward compatibility of linux launcher 2020-02-21 18:12:48 +04:00
Ilya Fedin
9d0ae61ee0 Revert tray icon size to 22 on Linux (except KDE) and fix tray counter disabling in KDE 2020-02-18 11:37:17 +04:00
John Preston
a88423a33f Fix bad window rendering with maximize-on-launch.
I have no idea why MainWindow is ruined completely in case you call
MainWindow::show, MainWindow::setWindowState(maximized) and then
in the same context (without crl::on_main) create full screen viewer.
2020-02-12 12:09:17 +04:00
Ilya Fedin
6206b6f843 Adapt indicator-application check for sandboxed environments
Fix quality loss in the tray icon image

Fix window showing by clicking on the tray icon on macOS

Fix tray icon displaying on KDE
2020-02-10 15:09:47 +04:00
RadRussianRus
9fd3d31f26 Control check 2020-02-08 00:05:03 +03:00
RadRussianRus
af09efeeb2 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-02-06 10:58:45 +03:00
Ilya Fedin
3b4dfa1381 Use LXQt's StatusNotifierItem implementation instead of appindicator 2020-02-05 18:38:34 +04:00
Ilya Fedin
2807c5ef19 Use system icon theme and increase icon size 2020-01-31 16:03:41 +03:00
Ilya Fedin
a831c1703a Split launcher filename detection to a function 2020-01-31 15:46:39 +03:00
John Preston
74d848311b Replace str_const with base::const_string. 2020-01-29 12:47:50 +03:00
RadRussianRus
5b9bc084f9 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-01-28 22:06:59 +03:00
Ilya Fedin
9536a3c98e Use packaged build in the snap package 2020-01-28 20:38:12 +03:00
John Preston
24da40ef05 Fix -startintray on Ubuntu. 2020-01-28 11:41:05 +03:00
RadRussianRus
a7f2922f01 Merge remote-tracking branch 'tdesktop/dev' into dev 2020-01-23 21:24:57 +03:00
John Preston
fef90ea363 Fix build for Linux. 2020-01-21 23:32:05 +03:00