aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/narrative_window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index d868bda..28a7d79 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -165,6 +165,9 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app)
sc_editor_set_size(nw->sceditor, 640, 1024);
sc_editor_set_logical_size(nw->sceditor, 640.0, 1024.0);
+ g_signal_connect(G_OBJECT(nw->sceditor), "button-press-event",
+ G_CALLBACK(button_press_sig), nw);
+
gtk_box_pack_start(GTK_BOX(vbox), scroll, TRUE, TRUE, 0);
gtk_widget_show_all(nw->window);