aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users-service.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/users-service.c b/src/users-service.c
index 39afe39..c3c842f 100644
--- a/src/users-service.c
+++ b/src/users-service.c
@@ -10,6 +10,19 @@
static DbusmenuMenuitem * root_menuitem = NULL;
static GMainLoop * mainloop = NULL;
+gchar * dummies[] = {
+ "Bob", "Jim", "Alvin", "Mary", NULL
+};
+
+void dummy_users (void) {
+ int count;
+ for (count = 0; dummies[count] != NULL; count++) {
+ DbusmenuMenuitem * mi = dbusmenu_menuitem_new();
+ dbusmenu_menuitem_property_set(mi, "label", dummies[count]);
+ dbusmenu_menuitem_child_append(root_menuitem, mi);
+ }
+}
+
int
main (int argc, char ** argv)
{