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
Ilya Fedin
9823615a84
Check if icon has desired size when saving
2020-03-16 16:57:22 +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
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
Ilya Fedin
99a8c93ac1
Fix build with gcc 9
2020-03-16 13:00:16 +04: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
23rd
95d8bb01ac
Guarded paletteChanged handling in touchbar's PinnedDialogButton.
2020-03-13 22:56:38 +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
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
7ac4c6e479
Add mark as read feature to linux native notifications
2020-03-06 18:39:34 +04:00
Ilya Fedin
fdf16d0aea
Fix notification daemon detection on KDE
...
Minimize usage of QDBusInterface
Log the whole notification daemon information
2020-03-06 18:39:34 +04:00
Ilya Fedin
7aadaca62e
Implement SkipAudio and SkipToast on Linux
2020-03-06 18:29:57 +04: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
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
57b76e3f00
Remove usage of QDBusInterface from non-class methods in Linux native notifications
2020-03-02 11:22:36 +04:00
Ilya Fedin
7bd0598555
Unified function to detect icon name on Linux
2020-02-27 15:17:32 +04:00
Ilya Fedin
3b300f23e1
Independent check for image in Linux native notifications
2020-02-27 12:23:56 +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
2b0e62dafe
Follow hidding reply setting in native notifications on Linux, use system icon
2020-02-24 21:00:25 +04: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
ca1623f34a
Use XDG Desktop Portal only when variable is set
2020-02-21 18:11:24 +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
3574a9c874
Fix lost qgetenv in GetLauncherBasename
2020-02-11 13:14:22 +04:00
John Preston
bcd0fe38f0
Fix invisible passcode field.
...
Regression was introduced in fd8ae60dc
.
2020-02-11 13:01:55 +04:00
Ilya Fedin
5171c0bd77
Fix crash when tray icon is disabled on macOS
2020-02-11 12:38:03 +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
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
Kai Uwe Broulik
9e3fa2e4bc
Check action id when invoked
...
Makes it more resilient
2020-02-10 14:45:07 +04:00
John Preston
2e1e13b843
Rename mediaview.style to media_view.style.
2020-02-05 18:39:47 +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
2807c5ef19
Use system icon theme and increase icon size
2020-01-31 16:03:41 +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
74942cd06e
Use QDBusConnection::connect to fix signal connection on old distributions
2020-01-28 16:43:23 +03:00
John Preston
24da40ef05
Fix -startintray on Ubuntu.
2020-01-28 11:41:05 +03:00
Ilya Fedin
1d85416434
Remove unneeded include from QtDBus notifications
2020-01-24 18:06:58 +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
Vitaly Zaitsev
b94c8436eb
Added missing Qt header. Fixed clang build.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-24 15:35:15 +03:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
John Preston
fef90ea363
Fix build for Linux.
2020-01-21 23:32:05 +03:00
Ilya Fedin
0480611bf8
Add possibility to build without dbus
2020-01-21 23:30:47 +03:00
John Preston
48b24d12b2
Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux.
2020-01-21 18:47:36 +03:00
kbroulik
b50073d281
Implement inline-reply
...
On supported notification servers (currently only KDE Plasma 5.18+) this
action will create a reply text field inside the notification.
2020-01-21 15:27:50 +03:00
Ilya Fedin
2298eed8bf
Use QStringList::contains also
2020-01-21 11:57:52 +03:00
Nicholas Guriev
8fab9167be
Use QStringList::join to print notifications capabilities
2020-01-20 14:05:00 +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
afe34121af
Use MACRO_TO_STRING from lib_base.
2020-01-17 14:15:40 +03:00
Ilya Fedin
ee9336f781
Fix notification actions for Cinnamon, fix notification icon for Gnome, add support for TDESKTOP_LAUNCHER_FILENAME in notifications and fix indentation
2020-01-17 13:40:31 +03:00
John Preston
322367c1b1
Correctly minimize window.
...
Fixes #6932 .
2020-01-02 14:57:36 +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
1f2b5ba0a2
Update spellcheck and ui submodules.
2019-12-14 17:46:31 +03:00
John Preston
e3fa17dd4f
Merge remote-tracking branch 'private/alpha' into cmake
2019-12-06 11:08:14 +03:00
23rd
d542291d8f
Added ability to invoke macOS Character Palette.
2019-12-02 18:50:32 +03:00
John Preston
5bfb98b70d
Initial build with Xcode.
2019-11-25 18:46:02 +03:00
John Preston
da4120bddd
Fix building without glib.
2019-11-18 10:52:32 +03:00
John Preston
c961acabbc
Include private header only if needed.
2019-11-18 10:52:08 +03:00
Christian Hesse
0c0c8f3584
libnotify: capabilities are not exclusive
...
Capabilities "actions" and "body-markup" can be available at the
same time.
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-11-13 11:22:08 +03:00
John Preston
6a668fc171
'TDESKTOP_DISABLE_CRASH_REPORTS' => 'DESKTOP_APP_DISABLE_..'
2019-11-07 13:53:55 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
John Preston
92d48a7846
Fix build on Windows.
2019-10-20 15:32:44 +04:00
John Preston
768a3d5a12
Backport a fix for custom window title.
2019-10-20 14:23:02 +04:00
John Preston
01936b5f1b
Build with Qt 5.12.5 and OpenSSL 1.1.1.
2019-10-19 12:27:56 +04:00
John Preston
7bb23519f9
Use base::Platform::ShowInFolder.
2019-10-19 12:27:56 +04:00
John Preston
30a1bd7ba2
Use base::call_delayed.
2019-10-19 12:27:56 +04:00
John Preston
09a7daf164
Update submodules.
2019-10-19 12:27:56 +04:00
John Preston
2fc9fd5887
Remove some unused code.
2019-10-19 12:27:56 +04:00
John Preston
860353824b
Fix build in Xcode.
2019-10-19 12:27:34 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
23rd
9bf8b619fe
Refactored ability to display media preview from touchbar.
2019-10-02 11:30:23 +03:00
John Preston
718f862be0
Version 1.8.12: Fix build for Mac App Store.
2019-10-02 11:21:02 +03:00
John Preston
3b0bf7cb1e
Move some more widgets and effects.
2019-10-01 23:59:46 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
f463d3ec6d
Divide autoupdate paths for OS versions.
2019-09-10 14:22:20 +03:00
John Preston
c9c0d74b68
Fix build for Linux.
2019-09-09 17:50:26 +03:00
John Preston
b631d09a40
Fix possible crash in event loop nesting.
2019-09-09 10:45:18 +03:00
John Zimmermann
fd4f384c3b
Allow GDK wayland backend when Telegram is running under Wayland
...
and make sure that it never tries to load gtk2 under wayland, it can
lead to Telegram crashing
2019-09-09 10:25:01 +03:00
John Preston
12a020cd09
Beta version 1.8.5: Fix build for Linux.
2019-09-08 23:38:45 +03:00
John Preston
b98e02f326
Beta version 1.8.5: Fix build on macOS.
2019-09-08 23:04:25 +03:00
23rd
639b4bdd27
Fixed badge update during theme testing.
2019-09-06 19:31:07 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
3715fa4b1e
Fix scheduled notifications on inbox read.
2019-08-30 17:06:21 +03:00