gnome-control-center has two problems now:
1) Updating the user icon doesn't take effect until the application is restarted
2) The wrong user is selected at start up
Both of these problems are regressions introduced from
This bug tries to address both issues.
Created attachment 138961 [details] [review]
daemon: don't override property from user skeleton
At the moment the skeleton superclass associated with a user keeps
cached copies of all properties, and the derived user class also
keeps duplicate copies of those properties.
The problem is these properties get out of sync and the derived
class fails to PropertyChanged signals are sent when the properties
This commit solves the issue by cutting out the redundant property
data and just defers all property storage to the skeleton.
Created attachment 138962 [details] [review]
lib: don't emit user-added signal until list_users is completed
Right now calling act_user_manager_list_users can inadvertently
lead to user-added signals getting emitted before the call completes.
This is not something users of the API expect.
Attachment 138961 [details] pushed as e18e8a3 - daemon: don't override property from user skeleton
Attachment 138962 [details] pushed as 9a6a568 - lib: don't emit user-added signal until list_users is completed