aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-18 21:48:50 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-18 21:48:50 +0100
commit666b6585ef90b2f70361972edba05d89b68047db (patch)
tree61465789f9871fb1d75591d51da4bcaacc8b4fbc /src/narrative_window.c
parent9032c5376c84fd1bbe1112529c5a376cb6d6c5ab (diff)
Hook double-click up again
Diffstat (limited to 'src/narrative_window.c')
-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);