diff options
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r-- | src/narrative_window.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index 7f55d8c..b1966ef 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -146,6 +146,13 @@ static void open_clock_sig(GSimpleAction *action, GVariant *parameter, gpointer } +static void testcard_sig(GSimpleAction *action, GVariant *parameter, + NarrativeWindow *nw) +{ + show_testcard(nw->p); +} + + GActionEntry nw_entries[] = { { "save", save_sig, NULL, NULL, NULL }, @@ -157,6 +164,7 @@ GActionEntry nw_entries[] = { { "startslideshow", start_slideshow_sig, NULL, NULL, NULL }, { "notes", open_notes_sig, NULL, NULL, NULL }, { "clock", open_clock_sig, NULL, NULL, NULL }, + { "testcard", testcard_sig, NULL, NULL, NULL }, }; |