diff options
Diffstat (limited to 'src/slide_window.c')
-rw-r--r-- | src/slide_window.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slide_window.c b/src/slide_window.c index ae89062..283e96e 100644 --- a/src/slide_window.c +++ b/src/slide_window.c @@ -75,6 +75,14 @@ struct menu_pl }; +static void insert_slidetitle_sig(GSimpleAction *action, GVariant *parameter, + gpointer vp) +{ + SlideWindow *sw = vp; + sc_editor_add_storycode(sw->sceditor, "\\slidetitle{Slide title}"); +} + + static void paste_sig(GSimpleAction *action, GVariant *parameter, gpointer vp) { @@ -219,6 +227,7 @@ GActionEntry sw_entries[] = { { "prev", prev_slide_sig, NULL, NULL, NULL }, { "next", next_slide_sig, NULL, NULL, NULL }, { "last", last_slide_sig, NULL, NULL, NULL }, + { "slidetitle", insert_slidetitle_sig, NULL, NULL, NULL }, }; |