aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users-service.c b/src/users-service.c
index 9884a56..9dbf218 100644
--- a/src/users-service.c
+++ b/src/users-service.c
@@ -223,6 +223,7 @@ user_added (UsersServiceDbus *service,
DbusmenuMenuitem *root = (DbusmenuMenuitem *)user_data;
users = g_list_append (users, user);
+ count++;
rebuild_items (root, service);
}
@@ -235,6 +236,7 @@ user_removed (UsersServiceDbus *service,
DbusmenuMenuitem *root = (DbusmenuMenuitem *)user_data;
users = g_list_remove (users, user);
+ count--;
rebuild_items (root, service);
}