summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2013-05-20 14:47:03 -0400
committerRay Strode <rstrode@redhat.com>2013-05-20 19:49:12 -0400
commit142713252e31676f9eabfcbb3ce1a95ec3f52170 (patch)
treead4525555c33c2bea416f230fe2c5315b656ec2b
parent64e896b741c40f3b9213427eece0374eafa7f699 (diff)
downloadaccountsservice-142713252e31676f9eabfcbb3ce1a95ec3f52170.tar.gz
user: write whether account is system account in key file
This commit changes account service to write whether or not the account is a system account in the key file about the user. https://bugs.freedesktop.org/show_bug.cgi?id=64769
-rw-r--r--src/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user.c b/src/user.c
index ed0c8b2..af60bb3 100644
--- a/src/user.c
+++ b/src/user.c
@@ -381,6 +381,8 @@ user_save_to_keyfile (User *user,
if (user->icon_file)
g_key_file_set_string (keyfile, "User", "Icon", user->icon_file);
+
+ g_key_file_set_boolean (keyfile, "User", "SystemAccount", user->system_account);
}
static void