Commit Graph

18 Commits (68064f8d8638029e9a50cb0eda097e3017641de4)
 

Author SHA1 Message Date
Michele Calgaro 68064f8d86
Use __TDE_HAVE_GCC_VISIBILITY instead of __KDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Mavridis Philippe 1cc658900d
Update README
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 months ago
Mavridis Philippe 53725cd5c9
Migrate to new configuration file-based DE portals declaration
Since xdg-desktop-portal 1.18 it replaces the `UseIn` key.
The obsolete key will be temporarily kept for compatibility reasons.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 months ago
Mavridis Philippe ac09893b3c
Remove leftover source file
I was initially going to put implementation in a separate CPP file but due to DialogResultRender
being a class template the implementation details need to be part of the header.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 months ago
Mavridis Philippe b0aeeeb966
Port TDEFileChooserPortal::SaveFiles and TDEAccountPortal to DialogResultSender
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
5 months ago
Mavridis Philippe 2397c7e9cb
FileDialog: Use Async methods and result sender thread
The thread waits until the non-modal dialog is done and then sends the result without
blocking the main thread. The dialog itself is initialized in the main thread.

This should fix high CPU usage while a dialog is open, not being able to open multiple
instances of a dialog at once and the DBus service locking down while a dialog is open.

xdg-desktop-portal-tde might yet make it into R14.1.3 ;-)

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
5 months ago
Mavridis Philippe acdd7db26e
Initialize DBus object pointers with nullptr
This should fix a crash when the daemon is terminated before it can establish
connection and initialize the objects.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
5 months ago
Mavridis Philippe 21fbf1ce2b
Update interfaces in tde.portal
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe 176df56118
Updated README
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe a5eb53fcbc
Added Account portal, permission dialog class, moved some code to util
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe 87769ed51d
Added Email interface, minor refactoring
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe c7b0c7b88c
Implement TDEFileChooserPortal::SaveFiles
Allows selecting a directory to save multiple files while checking for
existing files with similar filenames.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe b8f8ce418e
Code reorganization and some improvements borrowed from kdbusnotification
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe 30af69c9c0
Improve DBus XML code generation
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Mavridis Philippe ae92cf1205
Fix installation prefix for XDG portal definition
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
11 months ago
Mavridis Philippe 019b677128
Remove unneeded files
Leftovers from an older attempt at an implementation which
didn't quite work out.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Mavridis Philippe 28e9430bd2
Add README
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Mavridis Philippe 4acb982e2d
Initial commit
Adds implementation of FileChooser interface

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago