2005-06-15 [colin] 1.9.11cvs69
authorColin Leroy <colin@colino.net>
Wed, 15 Jun 2005 03:23:40 +0000 (03:23 +0000)
committerColin Leroy <colin@colino.net>
Wed, 15 Jun 2005 03:23:40 +0000 (03:23 +0000)
* src/headerview.c
Fix bug #670 (multi user to: will corrupt message
headers display)

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/headerview.c

index 29af103..9efc439 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-15 [colin]     1.9.11cvs69
+
+       * src/headerview.c
+               Fix bug #670 (multi user to: will corrupt message 
+               headers display)
+
 2005-06-15 [colin]     1.9.11cvs68
 
        * src/compose.c
index 43b79e2..f74e80b 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.61.2.26 -r 1.61.2.27 src/account.c;  cvs diff -u -r 1.149.2.25 -r 1.149.2.26 src/inc.c;  cvs diff -u -r 1.17.2.12 -r 1.17.2.13 src/send_message.c;  cvs diff -u -r 1.1.4.10 -r 1.1.4.11 src/gtk/progressdialog.c;  cvs diff -u -r 1.1.4.4 -r 1.1.4.5 src/gtk/progressdialog.h;  ) > 1.9.11cvs66.patchset
 ( cvs diff -u -r 1.213.2.33 -r 1.213.2.34 src/folder.c;  cvs diff -u -r 1.179.2.32 -r 1.179.2.33 src/imap.c;  ) > 1.9.11cvs67.patchset
 ( cvs diff -u -r 1.382.2.130 -r 1.382.2.131 src/compose.c;  ) > 1.9.11cvs68.patchset
+( cvs diff -u -r 1.8.2.5 -r 1.8.2.6 src/headerview.c;  ) > 1.9.11cvs69.patchset
index c790ba6..e003a21 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=68
+EXTRA_VERSION=69
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 61e4dcf..e0f84ce 100644 (file)
@@ -107,11 +107,18 @@ HeaderView *headerview_create(void)
        gtk_box_pack_start(GTK_BOX(hbox1), from_header_label, FALSE, FALSE, 0);
        gtk_box_pack_start(GTK_BOX(hbox1), from_body_label, FALSE, FALSE, 0);
        gtk_box_pack_start(GTK_BOX(hbox1), to_header_label, FALSE, FALSE, 0);
-       gtk_box_pack_start(GTK_BOX(hbox1), to_body_label, FALSE, FALSE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox1), to_body_label, TRUE, TRUE, 0);
        gtk_box_pack_start(GTK_BOX(hbox1), ng_header_label, FALSE, FALSE, 0);
-       gtk_box_pack_start(GTK_BOX(hbox1), ng_body_label, FALSE, FALSE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox1), ng_body_label, TRUE, TRUE, 0);
        gtk_box_pack_start(GTK_BOX(hbox2), subject_header_label, FALSE, FALSE, 0);
-       gtk_box_pack_start(GTK_BOX(hbox2), subject_body_label, FALSE, FALSE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox2), subject_body_label, TRUE, TRUE, 0);
+
+       gtk_misc_set_alignment(GTK_MISC(to_body_label), 0, 0.5);
+       gtk_misc_set_alignment(GTK_MISC(ng_body_label), 0, 0.5);
+       gtk_misc_set_alignment(GTK_MISC(subject_body_label), 0, 0.5);
+       gtk_label_set_ellipsize(GTK_LABEL(to_body_label), PANGO_ELLIPSIZE_END);
+       gtk_label_set_ellipsize(GTK_LABEL(ng_body_label), PANGO_ELLIPSIZE_END);
+       gtk_label_set_ellipsize(GTK_LABEL(subject_body_label), PANGO_ELLIPSIZE_END);
 
        headerview->hbox = hbox;
        headerview->from_header_label    = from_header_label;