CVS: sylpheedclaws/sylpheed-claws/src compose.c,1.382.2.273,1.382.2.274 mainwindow.c,1.274.2.117,1.274.2.118 pop.c,1.56.2.42,1.56.2.43 summaryview.c,1.395.2.211,1.395.2.212

[email protected]
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/sylpheed-claws/src
In directory sunsite.dk:/tmp/cvs-serv24815/src

Modified Files:
      Tag: gtk2
	compose.c mainwindow.c pop.c summaryview.c 
Log Message:
2006-05-29 [colin]	2.2.0cvs64

	* src/compose.c
	* src/common/utils.c
		Fix extraneous tab at start of addresses
	* src/mainwindow.c
		Fix warnings (thanks to Fabien)
		Fix crash at exit when composing messages 
		exist
	* src/pop.c
		Fix progress bar when deleting expired mails
		Thanks to Hiro
	* src/summaryview.c
	* src/gtk/gtksctree.c
		Fix re-sorting slowness

Index: compose.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/compose.c,v
retrieving revision 1.382.2.273
retrieving revision 1.382.2.274
diff -u -d -r1.382.2.273 -r1.382.2.274
--- compose.c	2006/05/18 17:10:12	1.382.2.273
+++ compose.c	2006/05/29 16:42:23	1.382.2.274
@@ -1953,7 +1953,7 @@
 			tmp[cur-begin]='\0';
 			cur++;
 			begin = cur;
-			while (*tmp == ' ')
+			while (*tmp == ' ' || *tmp == '\t')
 				tmp++;
 			compose_add_header_entry(compose, header, tmp);
 			g_free(o_tmp);
@@ -1967,7 +1967,7 @@
 		tmp[cur-begin]='\0';
 		cur++;
 		begin = cur;
-		while (*tmp == ' ')
+		while (*tmp == ' ' || *tmp == '\t')
 			tmp++;
 		compose_add_header_entry(compose, header, tmp);
 		g_free(o_tmp);		

Index: mainwindow.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/mainwindow.c,v
retrieving revision 1.274.2.117
retrieving revision 1.274.2.118
diff -u -d -r1.274.2.117 -r1.274.2.118
--- mainwindow.c	2006/05/26 08:32:06	1.274.2.117
+++ mainwindow.c	2006/05/29 16:42:25	1.274.2.118
@@ -2366,7 +2366,7 @@
 	buf = *buffer;
 	
 	if (buf == 0x00) {
-		url_decoded = NULL;
+		*url_decoded = '\0';
 		*buffer = NULL;
 		return;
 	}
@@ -2383,12 +2383,12 @@
 	}
 	else  {
 		*buffer = NULL;
-		*url_decoded = NULL;
+		*url_decoded = '\0';
 		return;
 	}
 	
 	tmp[i]       = 0x00;
-	*url_decoded = NULL;
+	*url_decoded = '\0';
 	*buffer = NULL;
 	
 	if (i == maxlen) {
@@ -3686,6 +3686,8 @@
 	SummaryView *summary;
 
 	g_return_val_if_fail(data, FALSE);
+	if (!g_list_find(mainwin_list, data))
+		return TRUE;
 	summary = ((MainWindow *)data)->summaryview;
 	g_return_val_if_fail(summary, FALSE);
 

Index: pop.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/pop.c,v
retrieving revision 1.56.2.42
retrieving revision 1.56.2.43
diff -u -d -r1.56.2.42 -r1.56.2.43
--- pop.c	2006/01/13 17:24:13	1.56.2.42
+++ pop.c	2006/05/29 16:42:25	1.56.2.43
@@ -777,6 +777,7 @@
 			log_message
 				(_("POP3: Deleting expired message "
 				   "%d\n"), session->cur_msg);
+			session->cur_total_bytes += size;
 			pop3_delete_send(session);
 			return POP3_DELETE;
 		}

Index: summaryview.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/summaryview.c,v
retrieving revision 1.395.2.211
retrieving revision 1.395.2.212
diff -u -d -r1.395.2.211 -r1.395.2.212
--- summaryview.c	2006/05/26 16:43:15	1.395.2.211
+++ summaryview.c	2006/05/29 16:42:26	1.395.2.212
@@ -5316,6 +5316,7 @@
 
 	node = GTK_CTREE_NODE(GTK_CLIST(summaryview->ctree)->row_list);
 
+	gtk_clist_freeze(GTK_CLIST(summaryview->ctree));
 	if (prefs_common.bold_unread) {
 		while (node) {
 			GtkCTreeNode *next = GTK_CTREE_NODE_NEXT(node);
@@ -5324,6 +5325,7 @@
 			node = next;
 		}
 	}
+	gtk_clist_thaw(GTK_CLIST(summaryview->ctree));
 	END_TIMING();
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.