summaryrefslogtreecommitdiff
path: root/liblightdm-gobject
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-10-29 13:57:38 -0700
committerRobert Ancell <robert.ancell@canonical.com>2013-10-29 13:57:38 -0700
commit58d17fc4c692cf18d8b18103ac882a81fa2024cf (patch)
treef42511394cd4295760529851868a42f9b537b4ee /liblightdm-gobject
parent6d8d2a21b89899d245ed3d72e1cff00a737b3cd8 (diff)
downloadlightdm-58d17fc4c692cf18d8b18103ac882a81fa2024cf.tar.gz
Update HasMessages when that changes
Diffstat (limited to 'liblightdm-gobject')
-rw-r--r--liblightdm-gobject/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/liblightdm-gobject/user.c b/liblightdm-gobject/user.c
index 4137e650..1311f693 100644
--- a/liblightdm-gobject/user.c
+++ b/liblightdm-gobject/user.c
@@ -473,6 +473,8 @@ update_user (UserAccountObject *object)
else
priv->background = g_strdup (background_file);
}
+ else if (strcmp (name, "XHasMessages") == 0 && g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN))
+ g_variant_get (value, "b", &priv->has_messages);
}
g_variant_iter_free (iter);