summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update READMEMavridis Philippe2024-10-061-12/+14
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Migrate to new configuration file-based DE portals declarationMavridis Philippe2024-10-062-0/+4
| | | | | | | 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>
* Remove leftover source fileMavridis Philippe2024-10-061-39/+0
| | | | | | | 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>
* Port TDEFileChooserPortal::SaveFiles and TDEAccountPortal to DialogResultSenderMavridis Philippe2024-10-029-181/+483
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* FileDialog: Use Async methods and result sender threadMavridis Philippe2024-10-026-61/+98
| | | | | | | | | | | | 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>
* Initialize DBus object pointers with nullptrMavridis Philippe2024-10-011-1/+6
| | | | | | | 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>
* Update interfaces in tde.portalMavridis Philippe2024-07-101-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Updated READMEMavridis Philippe2024-07-081-2/+3
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added Account portal, permission dialog class, moved some code to utilMavridis Philippe2024-07-0813-25/+528
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added Email interface, minor refactoringMavridis Philippe2024-07-0812-148/+372
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Implement TDEFileChooserPortal::SaveFilesMavridis Philippe2024-07-071-1/+79
| | | | | | | Allows selecting a directory to save multiple files while checking for existing files with similar filenames. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Code reorganization and some improvements borrowed from kdbusnotificationMavridis Philippe2024-07-078-52/+390
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Improve DBus XML code generationMavridis Philippe2024-07-073-12/+36
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Fix installation prefix for XDG portal definitionMavridis Philippe2024-03-112-1/+4
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Remove unneeded filesMavridis Philippe2024-02-032-85/+0
| | | | | | | Leftovers from an older attempt at an implementation which didn't quite work out. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Add READMEMavridis Philippe2024-02-011-0/+39
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Initial commitMavridis Philippe2024-02-0118-0/+999
Adds implementation of FileChooser interface Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>