summaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-03-01 03:09:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 19:57:50 -0800
commitb2ba7917ab720c98c9accb87f4c40a7319b12c09 (patch)
tree70374b2aaf1e182a987cb86f4aae2791b8129cf4 /info.c
parent0fc089c66941b6799dce9fbb6e3ccd51ede2b65d (diff)
downloadsubsurface-b2ba7917ab720c98c9accb87f4c40a7319b12c09.tar.gz
Request a minimal height for the notes in the dive edit dialog
This sould give the notes text box around 8 lines of text. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'info.c')
-rw-r--r--info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/info.c b/info.c
index 425194e5d..c0cbd3e70 100644
--- a/info.c
+++ b/info.c
@@ -868,6 +868,7 @@ static void dive_info_widget(GtkWidget *obox, struct dive *dive, struct dive_inf
info->notes = NULL;
} else {
info->notes = text_view(box, _("Notes"), READ_WRITE);
+ gtk_widget_set_size_request(GTK_WIDGET(info->notes), -1, 128);
if (dive->notes && *dive->notes)
gtk_text_buffer_set_text(gtk_text_view_get_buffer(info->notes), dive->notes, -1);
}