aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session-service.c b/src/session-service.c
index 5614ab4..b5fb42e 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -516,6 +516,7 @@ rebuild_items (DbusmenuMenuitem *root,
}
g_signal_connect(G_OBJECT(lock_menuitem), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(lock_screen), NULL);
dbusmenu_menuitem_child_append(root, lock_menuitem);
+ lock_screen_update_item(lock_menuitem);
}
/* Build all of the user switching items */