chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
even chattier logging
[disorder]
/
disobedience
/
menu.c
diff --git
a/disobedience/menu.c
b/disobedience/menu.c
index fcf9e9f2cd49c818950aabdaa0195071563666f5..c5ace02375931326c257e615393cc1c54ae44759 100644
(file)
--- a/
disobedience/menu.c
+++ b/
disobedience/menu.c
@@
-111,6
+111,14
@@
static void about_popup(gpointer attribute((unused)) callback_data,
0);
}
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) {
/** @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 */
},
0, /* item_type */
0 /* extra_data */
},
+ {
+ (char *)"/Control/Playing", /* path */
+ (char *)"<CTRL>P", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
{
(char *)"/Control/Random play", /* path */
(char *)"<CTRL>R", /* accelerator */
{
(char *)"/Control/Random play", /* path */
(char *)"<CTRL>R", /* accelerator */
@@
-213,6
+229,14
@@
GtkWidget *menubar(GtkWidget *w) {
(char *)"<CheckItem>", /* item_type */
0 /* extra_data */
},
(char *)"<CheckItem>", /* item_type */
0 /* extra_data */
},
+ {
+ (char *)"/Control/Network player", /* path */
+ (char *)"<CTRL>N", /* accelerator */
+ 0, /* callback */
+ 0, /* callback_action */
+ (char *)"<CheckItem>", /* item_type */
+ 0 /* extra_data */
+ },
{
(char *)"/Help", /* path */
{
(char *)"/Help", /* path */
@@
-222,6
+246,14
@@
GtkWidget *menubar(GtkWidget *w) {
(char *)"<Branch>", /* item_type */
0 /* extra_data */
},
(char *)"<Branch>", /* 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 */
{
(char *)"/Help/About DisOrder", /* path */
0, /* accelerator */