X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/46fb1b054b01374aafa506f6ad2be233e8d61d36..f9d42b20477523bf2ab2172d51e78d2a398e117f:/disobedience/menu.c diff --git a/disobedience/menu.c b/disobedience/menu.c index f93e2f7..ab32f36 100644 --- a/disobedience/menu.c +++ b/disobedience/menu.c @@ -94,6 +94,13 @@ static void login(gpointer attribute((unused)) callback_data, login_box(); } +/** @brief Called when the login option is activated */ +static void users(gpointer attribute((unused)) callback_data, + guint attribute((unused)) callback_action, + GtkWidget attribute((unused)) *menu_item) { + manage_users(); +} + #if 0 /** @brief Called when the settings option is activated */ static void settings(gpointer attribute((unused)) callback_data, @@ -228,6 +235,14 @@ GtkWidget *menubar(GtkWidget *w) { 0, /* item_type */ 0 /* extra_data */ }, + { + (char *)"/File/Users", /* path */ + 0, /* accelerator */ + users, /* callback */ + 0, /* callback_action */ + 0, /* item_type */ + 0 /* extra_data */ + }, #if 0 { (char *)"/File/Settings", /* path */