Ilya Fedin
|
ec8ddb047d
|
Use style::CheckScale when setting gtk scale factor
|
2021-01-28 11:43:17 +04:00 |
|
Ilya Fedin
|
82d78e7c45
|
Decrease indentation in notification manager creation
|
2021-01-25 09:42:16 +04:00 |
|
Ilya Fedin
|
df0bca077e
|
Fix build with linked gtk
|
2021-01-25 09:42:16 +04:00 |
|
Ilya Fedin
|
c21125f9f2
|
Don't log UnknownProperty error
When checking notification inhibition support
|
2021-01-24 08:51:19 +04:00 |
|
Ilya Fedin
|
8ed56bb4e4
|
Don't mess GTK scale factor with other scaling settings
Have this order for scaling settings:
1. devicePixelRatio
2. GTK
3. DPI
|
2021-01-23 21:55:33 +04:00 |
|
Ilya Fedin
|
b919a0627a
|
Ensure GtkIntegration::load() is called only once
|
2021-01-23 16:14:22 +04:00 |
|
Ilya Fedin
|
6374d4eeda
|
Some cosmetic changes in settigs setters
|
2021-01-23 16:14:22 +04:00 |
|
Ilya Fedin
|
3967052375
|
Get scale factor from GTK on Linux
|
2021-01-23 16:14:22 +04:00 |
|
Ilya Fedin
|
89ccc95023
|
Fix early return from Platform::ThirdParty::start on Linux
|
2021-01-23 16:14:22 +04:00 |
|
Ilya Fedin
|
5cb081ca9a
|
Fix build without dbus
|
2021-01-22 17:22:37 +04:00 |
|
Ilya Fedin
|
f1e0b36f61
|
Use operator-> for tray icon biggest size
|
2021-01-22 17:22:37 +04:00 |
|
Ilya Fedin
|
ea9813825d
|
Move EscapeShell to specific_linux
|
2021-01-22 17:22:37 +04:00 |
|
Ilya Fedin
|
36b6f70613
|
Get rid of unneeded includes in specific_linux
|
2021-01-22 17:22:37 +04:00 |
|
Ilya Fedin
|
ada22ee6cc
|
Split GTK integration into a singleton
|
2021-01-22 17:22:37 +04:00 |
|
Ilya Fedin
|
2fe2105a5f
|
Don't add counter when icon theme has 'panel' icon
These icons should have a dot indicating unread messages, counter is redudant for them
|
2021-01-22 17:09:50 +04:00 |
|
Ilya Fedin
|
690c5df87c
|
Format dbus errors logging
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
1e2759840d
|
Check _sniDBusProxy for nullptr before connecting to signals
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
bad888496c
|
Decrease some indentation in linux platform code
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
4348ddf938
|
Adjust some constexprs in linux platform code
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
894d6028bd
|
Don't skip native notification toasts
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
e8edbb16ae
|
Make notification manager creation async
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
a0a71687e7
|
Use QDBusPendingReply in GetServerInformation
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
d042963a47
|
Make notification show method async
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
64b12bde55
|
Allow qualified notification daemons by default on Linux
|
2021-01-22 17:02:50 +04:00 |
|
Ilya Fedin
|
49736cd879
|
Recreate notification manager on notification service owner change
|
2021-01-22 17:02:50 +04:00 |
|
John Preston
|
574d915c23
|
Fix build and tray icon menu on Windows.
|
2021-01-22 16:53:59 +04:00 |
|
Ilya Fedin
|
3b7d5d3c80
|
Eliminate ifndefs in notifications_manager_linux
|
2021-01-05 18:16:26 +04:00 |
|
Ilya Fedin
|
0fbea454bc
|
Format unity counter setting
|
2021-01-05 11:43:24 +04:00 |
|
Ilya Fedin
|
d4d688d494
|
Merge two ifndef blocks in main_window_linux
|
2021-01-05 11:43:24 +04:00 |
|
Ilya Fedin
|
b3892f49fa
|
Fix kSNIWatcherService/kSNIWatcherInterface misusage
Even though they're the same, there should be interface specified
|
2021-01-05 11:43:24 +04:00 |
|
Ilya Fedin
|
5affb168a2
|
Fix callback function name in open with dialog
|
2021-01-04 17:08:49 +04:00 |
|
Ilya Fedin
|
99af2a7058
|
Check for xdg-decoration protocol support on Wayland
|
2021-01-04 17:08:49 +04:00 |
|
Ilya Fedin
|
b9acea9cef
|
Move GSDMediaKeys initialization to SetWatchingMediaKeys
|
2021-01-04 11:55:10 +04:00 |
|
Ilya Fedin
|
8fb6ece796
|
Revert "Use xcb to set transient parent for gtk file dialog"
This reverts commit cd3b989e70 .
|
2021-01-04 11:54:17 +04:00 |
|
Ilya Fedin
|
15a9842b9f
|
Make open with dialog modal on Linux
|
2021-01-04 11:54:17 +04:00 |
|
Ilya Fedin
|
39f9147790
|
Check for dbus menu exporter instead of menu path
|
2020-12-30 11:50:01 +04:00 |
|
Ilya Fedin
|
8da33113a2
|
Use DeviceModelPretty/SystemVersionPretty directly
This allows using methods that require a running QGuiApplication instance to detect system
|
2020-12-29 12:36:47 +04:00 |
|
Ilya Fedin
|
f66cfb5684
|
Use new IsSupportedByWM XCB API from lib_base
|
2020-12-29 12:29:11 +04:00 |
|
Ilya Fedin
|
e247be7e33
|
Operate with QString instead of QDBusObjectPath
|
2020-12-28 17:00:05 +04:00 |
|
Ilya Fedin
|
e594b75f4c
|
Use more forward declarations in main_window_linux
|
2020-12-28 17:00:05 +04:00 |
|
Ilya Fedin
|
28f857f763
|
Add support for G-S-D's media-keys extension
This fixes media keys handling on (but not limited to, probably):
* GNOME
* Cinnamon
* MATE
* Budgie
* Pantheon (elementaryOS)
* Unity
|
2020-12-28 17:00:05 +04:00 |
|
Ilya Fedin
|
56728a066e
|
Fix blurry tray icon with svg themes
QIcon::actualSize doesn't work as expected with svg themes, get actual pixmap and check its size instead.
|
2020-12-24 22:46:09 +03:00 |
|
Ilya Fedin
|
e99558abeb
|
Remove linux LastUserInputTime dependency since it's only in lib_base
|
2020-12-24 07:47:13 +04:00 |
|
Ilya Fedin
|
0ff6c555b1
|
Use Platform::IsWayland in linux_gdk_helper
|
2020-12-22 18:37:52 +04:00 |
|
John Preston
|
d301601360
|
Fix mouse/keyboard input on Windows.
|
2020-12-18 12:43:51 +04:00 |
|
Ilya Fedin
|
cd3b989e70
|
Use xcb to set transient parent for gtk file dialog
|
2020-12-14 16:50:59 +04:00 |
|
John Preston
|
df420e4ccf
|
Revert "Use gtk not only to get image from clipboard, but also to set"
This reverts commit f88c132c96 .
Fixes #9885.
|
2020-12-11 12:00:52 +04:00 |
|
Ilya Fedin
|
379a3d74e2
|
Fix build without gtk
|
2020-12-10 09:43:47 +04:00 |
|
Ilya Fedin
|
05147016b0
|
Simplify XErrorHandlerRestorer API
|
2020-12-10 07:15:39 +03:00 |
|
Ilya Fedin
|
4bc6c6c3c8
|
Handle cursor size in the custom GTK integration
|
2020-12-08 21:21:03 +03:00 |
|