Review Request 128951: Load user's avatar from AccountsService if it exists

David Edmundson david at davidedmundson.co.uk
Mon Sep 19 22:10:47 UTC 2016



> On Sept. 19, 2016, 10:03 p.m., Aleix Pol Gonzalez wrote:
> > src/lib/CMakeLists.txt, line 13
> > <https://git.reviewboard.kde.org/r/128951/diff/1/?file=477152#file477152line13>
> >
> >     Use CMAKE_INSTALL_FULL_LOCALSATEDIR instead of CMAKE_INSTALL_LOCALSTATEDIR.

I did that at first, but it includes the INSTALL_PREFIX for some weird reason, setting mine to /opt/kde5/var


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128951/#review99287
-----------------------------------------------------------


On Sept. 19, 2016, 9:56 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128951/
> -----------------------------------------------------------
> 
> (Updated Sept. 19, 2016, 9:56 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kcoreaddons
> 
> 
> Description
> -------
> 
> Plasma's UserManager (and Gnome) both now use AccountsService to store
> user information.
> 
> AccountsService saves the account information, and more particularly the
> avatar, in /var. This is very useful for login managers that need to
> load them without having to deal with mounting remote or encrypted home
> directories.
> 
> This patch makes KUser return the avatar saved by AccountsService first
> if it exist.
> 
> 
> Diffs
> -----
> 
>   src/lib/CMakeLists.txt 437c07e292d4f3e733a6609ddc4b7f8dc3649aab 
>   src/lib/util/config-accountsservice.h.cmake PRE-CREATION 
>   src/lib/util/kuser_unix.cpp 3cb1ee6070f8acba2b090f827eb99c79bf73a77f 
> 
> Diff: https://git.reviewboard.kde.org/r/128951/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160919/a7f7d999/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list