aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-08 05:13:53 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-08 05:13:53 +0200
commita6f821ff833171da62a25ad24fd85bc7834f1961 (patch)
treeb9210fe6c9c9e4eea397026d3fa38d38e01d5ecf /src/main.c
parent8f2799acdbc3049b88758205bd921c7f8697a0ee (diff)
downloadexperiment-player-a6f821ff833171da62a25ad24fd85bc7834f1961.tar.gz
support for opening the HTML manual from the experiment player help menu
URI is configurable (--with-help-uri)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e71914b..af75dfb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -137,6 +137,13 @@ quickopen_menu_refresh_item_activate_cb(GtkWidget *widget,
}
void
+help_menu_manual_item_activate_cb(GtkWidget *widget __attribute__((unused)),
+ gpointer data __attribute__((unused)))
+{
+ gtk_show_uri(NULL, HELP_URI, GDK_CURRENT_TIME, NULL);
+}
+
+void
generic_quit_cb(GtkWidget *widget __attribute__((unused)),
gpointer data __attribute__((unused)))
{