aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-30 14:27:17 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-30 14:27:17 +0100
commitb4f51f565cbbe12977764aaa466ddb4acc1510e7 (patch)
treee6b718d9b174d1be1a5c31986c6948a739bd9009 /src/narrative_window.c
parente21a073b0c6e4f0e7a00883eec590fa5cd84f407 (diff)
Scrolling stuff
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 28a7d79..ebf1ffd 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -156,7 +156,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app)
scroll = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll),
GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
+ GTK_POLICY_ALWAYS);
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll),
GTK_WIDGET(nw->sceditor));
@@ -168,6 +168,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app)
g_signal_connect(G_OBJECT(nw->sceditor), "button-press-event",
G_CALLBACK(button_press_sig), nw);
+ gtk_window_set_default_size(GTK_WINDOW(nw->window), 768, 768);
gtk_box_pack_start(GTK_BOX(vbox), scroll, TRUE, TRUE, 0);
gtk_widget_show_all(nw->window);