aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-07-20 14:01:12 -0500
committerTed Gould <ted@gould.cx>2010-07-20 14:01:12 -0500
commit25fa88e0f02624887022ff78e987fecfadb8ffaf (patch)
tree55295ce091c19390729fe06449e463372698f384 /libdbusmenu-glib/client.c
parent7180f1940bfa95ed9cc7d06a38ed8e459b8aa18f (diff)
downloadlibdbusmenu-25fa88e0f02624887022ff78e987fecfadb8ffaf.tar.gz
libdbusmenu-25fa88e0f02624887022ff78e987fecfadb8ffaf.tar.bz2
libdbusmenu-25fa88e0f02624887022ff78e987fecfadb8ffaf.zip
Updating properties on the root node.
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r--libdbusmenu-glib/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index e9a4e59..67c5354 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -1167,6 +1167,8 @@ parse_layout (DbusmenuClient * client, const gchar * layout)
if (priv->root == NULL) {
priv->root = parse_layout_new_child(0, client, NULL);
+ } else {
+ parse_layout_update(priv->root, client);
}
priv->root = parse_layout_xml(client, root, priv->root, NULL, priv->menuproxy);