Update of /cvsroot/gqclient/gq/src
In directory sc8-pr-cvs1:/tmp/cvs-serv17583
Modified Files:
errorchain.c
Log Message:
* Message log history
* Allow line-wrapping in error-messages (they often get inconveniently long)
Index: errorchain.c
===================================================================
RCS file: /cvsroot/gqclient/gq/src/errorchain.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** errorchain.c 18 Oct 2003 08:26:59 -0000 1.18
--- errorchain.c 20 Oct 2003 08:30:49 -0000 1.19
***************
*** 36,39 ****
--- 36,41 ----
#include "i18n.h"
#include "input.h"
+ #include "encode.h"
+ #include "mainwin.h" /* message_log_append */
#include "utf8-compat.h"
***************
*** 110,113 ****
--- 112,117 ----
chain->messages = g_list_append(chain->messages, str->str);
+ message_log_append(str->str);
+
g_string_free(str, FALSE);
}
***************
*** 254,257 ****
--- 258,262 ----
#endif
gtk_label_set_justify(GTK_LABEL(msg_label), GTK_JUSTIFY_LEFT);
+ gtk_label_set_line_wrap(GTK_LABEL(msg_label), TRUE);
gtk_misc_set_alignment(GTK_MISC(msg_label), 0, 0.5);
gtk_widget_show(msg_label);
|