Commit graph

10 commits

Author SHA1 Message Date
Matthias Clasen
a955ec4152 Switch files created by me to GPLv2+
This matches the rest of the control-center code base.
https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-06 19:07:09 -04:00
Stef Walter
06233ebba8 user-accounts: Add um_user_manager_cache_user()
This calls the AccountsService.CacheUser() method to register
a user that's not in /etc/passwd

Depends on: https://bugs.freedesktop.org/show_bug.cgi?id=50770

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:27:40 +02:00
Stef Walter
2e228b9992 user-accounts: Cleaner interaction with UmAccountDialog actions
More clear scoping and interaction with running actions in
UmAccountDialog. In later 'enterprise login' patches we have long
running actions that's why this needs cleaning up.

In particular:

 * Show errors as children of the dialog.
 * Errors don't make the account dialog go away, user can correct
   problems.
 * Use more standard GAsyncResult style callbacks:
   um_account_dialog_perform() um_account_dialog_finish()
 * Disable controls while the operation is happening.
 * Allow the user to cancel long actions in UmAccountDialog by
   pressing the cancel button.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:27 +02:00
Stef Walter
61eadc3fe3 user-accounts: Fix memory leak in create_user_done()
g_dbus_error_get_remote_error() returns an allocated string

https://bugzilla.gnome.org/show_bug.cgi?id=677930
2012-06-12 10:57:09 +02:00
Robert Ancell
bbef732913 user-accounts: Port to GDBus (excluding fingerprint code)
https://bugzilla.gnome.org/show_bug.cgi?id=622875
2012-02-08 12:18:11 +00:00
Matthias Clasen
f56f4a503d users: Fix life-cycle issues
We were leaking various references, leading to failures to populate
the list upon reloading, or to segfaults. With this commit, all
created user objects, as well as the user-manager object are
finalized when the panel is unloaded.
2011-08-25 23:45:38 -04:00
Bastien Nocera
36cc21db32 user-accounts: Fix deleting users on 32-bit systems
https://bugzilla.gnome.org/show_bug.cgi?id=652073
2011-06-11 12:41:35 +01:00
Matthias Clasen
59db8d3716 Users: try harder not to show system accounts
When used with accountsservice >= 0.6.9, this fixes the problem where,
when you click the unlock button on the user panel, the root user pops
up in the user list, unexpectedly.

When used with 0.6.8 it silently does nothing, since the system-account
property is not available.

https://bugzilla.gnome.org/show_bug.cgi?id=647487
2011-04-12 20:37:36 -04:00
Frédéric Péters
f1d70389c0 Do not abort if an unknown user is signaled removed
https://bugzilla.gnome.org/show_bug.cgi?id=645118
2011-03-18 12:29:24 +01:00
William Jon McCann
bf5cb44016 Add user-accounts dialog
Copied from the accounts-dialog git module.
2010-10-30 18:04:15 -04:00