aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/simple_dialog.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-01 02:18:18 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-01 02:18:18 +0000
commitbdf7c9bfb18263a4007ad1b95f36b9d8d0adf79e (patch)
treed482607b2ef38a6948f833ed2c1fa5a1a0440ebd /gtk/simple_dialog.c
parentaa654a1f8a0cd043eef60b7029f6874e4571dcaa (diff)
Wrap long lines in simple dialogs so that the dialog and its message
won't ever extend off the screen. svn path=/trunk/; revision=20953
Diffstat (limited to 'gtk/simple_dialog.c')
-rw-r--r--gtk/simple_dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/simple_dialog.c b/gtk/simple_dialog.c
index 85531bc474..c9546be26e 100644
--- a/gtk/simple_dialog.c
+++ b/gtk/simple_dialog.c
@@ -181,6 +181,7 @@ display_simple_dialog(gint type, gint btn_mask, char *message)
gtk_label_set_justify(GTK_LABEL(msg_label), GTK_JUSTIFY_FILL);
gtk_misc_set_alignment (GTK_MISC (type_pm), 0.5, 0.0);
gtk_container_add(GTK_CONTAINER(msg_vb), msg_label);
+ gtk_label_set_line_wrap(GTK_LABEL(msg_label), TRUE);
gtk_widget_show(msg_label);
if(btn_mask == ESD_BTN_NONE) {