chiark / gitweb /
Left-align text in message boxes.
[mgLib] / msg.c
diff --git a/msg.c b/msg.c
index d574060de47d1134257af97e67586b5918d2059f..07f011258b45979518eeac4878f479c7438f69b4 100644 (file)
--- a/msg.c
+++ b/msg.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: msg.c,v 1.11 2004/04/08 01:36:14 mdw Exp $
+ * $Id$
  *
  * Display a message and get an answer
  *
@@ -105,6 +105,7 @@ int msg(const char *title, const char *buttons, const char *msg, ...)
     dstr_vputf(&d, msg, &ap);
     va_end(ap);
     w = gtk_label_new(d.buf);
+    gtk_label_set_justify(GTK_LABEL(w), GTK_JUSTIFY_LEFT);
     gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dbox)->vbox), w, 1, 1, 0);
     gtk_window_position(GTK_WINDOW(dbox), GTK_WIN_POS_MOUSE);
     gtk_widget_show(w);