Add a event Spy for GtkFileChooser recent files

Authored by meven on Aug 15 2019, 5:57 PM.

Description

Add a event Spy for GtkFileChooser recent files

Summary:
GtkFileChooser/GtkRecentManager follows https://www.freedesktop.org/wiki/Specifications/desktop-bookmark-spec/ specification to store its recently accessed files.
The history is stored in $HOME/.local/share/recently-used.xbel

Adds an event spy for the xml file used by gtk following the example of the KRecentDocument EventSpy.

It allows to populate recently accessed files from apps using Gtk, including inkscape, gimp...

Test Plan:
Compile
killall -9 kactivitymanage
run your localy built version of kactivitymanagerd, for instance:
~/kde/usr/lib/x86_64-linux-gnu/libexec/kactivitymanagerd
Run a gtk app and open a file
The file access can be seen in kickoff/kicker history

Reviewers: Frameworks, ivan

Reviewed By: ivan

Subscribers: bruns, ngraham, broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D23112

Details

Committed
mevenAug 17 2019, 11:39 AM
Reviewer
ivan
Differential Revision
D23112: Add a event Spy for GtkFileChooser recent files
Parents
R161:cc2a78813fca: Set a parent for the dir watcher
Branches
Unknown
Tags
Unknown