X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/2d504956e1c3612ed62f16a05fd504b5998e6759..34a3e24603f115809eb08d74541c1fce5e988924:/disobedience/menu.c diff --git a/disobedience/menu.c b/disobedience/menu.c index fcf9e9f..c5ace02 100644 --- a/disobedience/menu.c +++ b/disobedience/menu.c @@ -111,6 +111,14 @@ static void about_popup(gpointer attribute((unused)) callback_data, 0); } +static void manual_popup(gpointer attribute((unused)) callback_data, + guint attribute((unused)) callback_action, + GtkWidget attribute((unused)) *menu_item) { + D(("manual_popup")); + + popup_help(); +} + /** @brief Callde when version arrives, displays about... popup */ static void about_popup_got_version(void attribute((unused)) *v, const char *value) { @@ -205,6 +213,14 @@ GtkWidget *menubar(GtkWidget *w) { 0, /* item_type */ 0 /* extra_data */ }, + { + (char *)"/Control/Playing", /* path */ + (char *)"P", /* accelerator */ + 0, /* callback */ + 0, /* callback_action */ + (char *)"", /* item_type */ + 0 /* extra_data */ + }, { (char *)"/Control/Random play", /* path */ (char *)"R", /* accelerator */ @@ -213,6 +229,14 @@ GtkWidget *menubar(GtkWidget *w) { (char *)"", /* item_type */ 0 /* extra_data */ }, + { + (char *)"/Control/Network player", /* path */ + (char *)"N", /* accelerator */ + 0, /* callback */ + 0, /* callback_action */ + (char *)"", /* item_type */ + 0 /* extra_data */ + }, { (char *)"/Help", /* path */ @@ -222,6 +246,14 @@ GtkWidget *menubar(GtkWidget *w) { (char *)"", /* item_type */ 0 /* extra_data */ }, + { + (char *)"/Help/Manual page", /* path */ + 0, /* accelerator */ + manual_popup, /* callback */ + 0, /* callback_action */ + 0, /* item_type */ + 0 /* extra_data */ + }, { (char *)"/Help/About DisOrder", /* path */ 0, /* accelerator */