aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-05-29 17:38:31 +0200
committerThomas White <taw@bitwiz.org.uk>2011-05-29 17:38:31 +0200
commit6e8575670fd9f5ab9fb9163a572df59aea7d05aa (patch)
treeb65537d555d09659c5d5e971618c909ef35db4f3 /src/mainwindow.c
parent039b0185c985cbd0c7ef504df32afa73094235fc (diff)
Add menu item (and hotkey) to start presentation
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 6feaddc..87bb07d 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -206,6 +206,10 @@ static void add_menu_bar(struct presentation *p, GtkWidget *vbox)
{ "QuitAction", GTK_STOCK_QUIT, "_Quit", NULL, NULL,
G_CALLBACK(quit_sig) },
+ { "ToolsAction", NULL, "_Tools", NULL, NULL, NULL },
+ { "TSlideshowAction", GTK_STOCK_FULLSCREEN, "_Start slideshow",
+ "F5", NULL, G_CALLBACK(start_slideshow_sig) },
+
{ "HelpAction", NULL, "_Help", NULL, NULL, NULL },
{ "AboutAction", GTK_STOCK_ABOUT, "_About...",
NULL, NULL, G_CALLBACK(about_sig) },