Ilya Fedin
e009ac026d
Update snap to core20
2020-06-09 19:01:35 +04:00
Ilya Fedin
ab13d9bdaf
Skip empty parts in QT_QPA_PLATFORMTHEME
2020-06-03 11:31:34 +04:00
Ilya Fedin
0165e31ca7
Never use custom code for portal detecting in flatpak
2020-06-03 11:31:34 +04:00
Ilya Fedin
c776f81dc7
Add support for choosing directories via xdg-desktop-portal
2020-06-03 11:31:34 +04:00
Ilya Fedin
e098922a4b
Add Platform::AutostartSupported
2020-06-01 18:25:21 +04:00
Ilya Fedin
10b169f9f6
Make not supported errors static
2020-06-01 18:19:34 +04:00
Ilya Fedin
c83b8d4043
Fix naming of static variables
2020-06-01 18:19:34 +04:00
Ilya Fedin
1fc2b19c94
Add Cinnamon sound settings command
2020-06-01 18:19:34 +04:00
Ilya Fedin
fb97940cac
Rename SandboxAutostart to PortalAutostart
2020-06-01 18:19:34 +04:00
Ilya Fedin
16c38b54e2
Rename InSandbox to InFlatpak
2020-06-01 18:19:34 +04:00
Ilya Fedin
7f29f57c3d
Use custom gtk file dialog only on gtk-based DEs
2020-06-01 18:19:34 +04:00
Ilya Fedin
47d7bd95ae
Add a method to check if gtk integration is forced
2020-06-01 18:19:34 +04:00
Ilya Fedin
1504136828
Don't spam logs if there are no dbus
2020-05-26 07:24:18 +04:00
Ilya Fedin
4c1f83daca
Add a check for bundled Qt plugins
2020-05-24 10:57:37 +04:00
Ilya Fedin
d1d1f83881
Remove outdated LIBGL_ALWAYS_INDIRECT hack
2020-05-08 12:54:21 +04:00
Ilya Fedin
161e51757c
Change color of wayland decoration according to theme
2020-05-01 12:26:10 +04:00
Ilya Fedin
7f890122e6
Add methods to detect appimage, static binary and forced gtk dialog
2020-04-26 12:28:34 +04:00
Ilya Fedin
7bc86cc9af
Fix directory opening with portal and use them by default with KDE
2020-04-24 14:33:26 +04:00
Ilya Fedin
ed91c07f99
Restore the old behavior with fallback fontconfig configuration
...
With current code fallback works only through time and replaces the config even if it is changed by the user.
This commit fixes that.
2020-04-13 10:49:30 +04:00
John Preston
0d58f1c9fa
Try system font config once in snap build.
2020-03-30 12:18:50 +04:00
Ilya Fedin
aa4968faaa
Re-use fontconfig fallback code in snap
2020-03-29 14:14:56 +04:00
Ilya Fedin
d47e94ea4d
Fallback to launcher basename if FLATPAK_ID variable is empty
2020-03-16 13:04:52 +04:00
Ilya Fedin
99a8c93ac1
Fix build with gcc 9
2020-03-16 13:00:16 +04:00
Ilya Fedin
ba5d9eda2d
Minimize dbus requests
2020-03-11 11:43:14 +04:00
Ilya Fedin
5927e8272c
Convert TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION to runtime environment variable
2020-03-09 11:02:45 +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
5c89dfad85
Implement LastUserInputTime on Linux
...
This is a dbus implementation, ideally a X11 implementation should be added as a fallback to get it work on non-mainstream DEs (and WMs)
2020-03-03 18:39:31 +04:00
Ilya Fedin
7bd0598555
Unified function to detect icon name on Linux
2020-02-27 15:17:32 +04:00
Ilya Fedin
8b704f9bd7
Fix escaping in linux launcher creating
2020-02-27 11:51:28 +04:00
John Preston
3b327d9397
Fix launching with data in ~/.TelegramDesktop
...
Regression was introduced in 60612635ef
.
Fixes #7289 .
2020-02-26 20:13:40 +04:00
Ilya Fedin
5bdc0db9e2
Generalize backward compatibility of linux launcher
2020-02-21 18:12:48 +04:00
Ilya Fedin
ca1623f34a
Use XDG Desktop Portal only when variable is set
2020-02-21 18:11:24 +04:00
Ilya Fedin
3574a9c874
Fix lost qgetenv in GetLauncherBasename
2020-02-11 13:14:22 +04:00
Ilya Fedin
e62f727135
Fix creating of autostart launcher in snap
2020-02-10 19:30:41 +04:00
Ilya Fedin
77719750ee
Fix name of the snap desktop file
...
Use new switch for GSL
2020-02-10 15:34:03 +04:00
Ilya Fedin
3b4dfa1381
Use LXQt's StatusNotifierItem implementation instead of appindicator
2020-02-05 18:38:34 +04:00
John Preston
28a567986d
Try linking some libs dynamically on Linux.
2020-01-31 16:33:35 +03:00
Ilya Fedin
0477bda929
Use XDG Desktop Portal for file dialog
2020-01-31 16:02:11 +03:00
Ilya Fedin
d80b3fda7d
Fix duplicate object path in SandboxAutostart and add some logging
2020-01-31 15:47:44 +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
Ilya Fedin
9536a3c98e
Use packaged build in the snap package
2020-01-28 20:38:12 +03:00
Ilya Fedin
05eabfd539
Add autostart support for linux
2020-01-28 16:44:27 +03:00
Ilya Fedin
04cfd598e2
Use appindicator in flatpak and fix desktop environment detection, add pavucontrol-qt
2020-01-24 16:51:50 +03:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
Ilya Fedin
0bcc4befa1
Change fc-custom.conf condition to DESKTOP_APP_USE_PACKAGED
2020-01-17 17:49:07 +03:00
John Preston
4eeac7dc18
Fix whitespace and indentation errors.
...
See #6672 , thanks Sea-n.
2020-01-02 14:25:53 +03:00
ilya-fedin
3d36b4f866
Replace libnotify with QtDBus notification implementation ( #6825 )
2019-12-29 18:41:45 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
12a020cd09
Beta version 1.8.5: Fix build for Linux.
2019-09-08 23:38:45 +03:00