From 6e8575670fd9f5ab9fb9163a572df59aea7d05aa Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 29 May 2011 17:38:31 +0200 Subject: Add menu item (and hotkey) to start presentation --- src/mainwindow.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainwindow.c') 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) }, -- cgit v1.2.3