rpms/sylpheed/FC-5 sylpheed-2.2.6-summaryview-crash.patch, NONE, 1.1 sylpheed.spec, 1.30, 1.31

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Mon Jun 26 10:04:03 UTC 2006


Author: mschwendt

Update of /cvs/extras/rpms/sylpheed/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28685/FC-5

Modified Files:
	sylpheed.spec 
Added Files:
	sylpheed-2.2.6-summaryview-crash.patch 
Log Message:
* Mon Jun 26 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.2.6-2
- Adapt upstream's patch to prevent a crash when switching folders
  (sylpheed-2.2.6-summaryview-crash.patch).


sylpheed-2.2.6-summaryview-crash.patch:

--- NEW FILE sylpheed-2.2.6-summaryview-crash.patch ---
diff -Nur sylpheed-2.2.6-orig/src/summaryview.c sylpheed-2.2.6/src/summaryview.c
--- sylpheed-2.2.6-orig/src/summaryview.c	2006-05-09 14:11:34.000000000 +0200
+++ sylpheed-2.2.6/src/summaryview.c	2006-06-26 11:53:41.000000000 +0200
@@ -940,9 +940,7 @@
 	procmsg_msg_list_free(summaryview->all_mlist);
 	summaryview->all_mlist = NULL;
 
-	gtk_tree_view_set_model(treeview, NULL);
 	gtk_tree_store_clear(summaryview->store);
-	gtk_tree_view_set_model(treeview, GTK_TREE_MODEL(summaryview->store));
 
 	/* ensure that the "value-changed" signal is always emitted */
 	adj = gtk_tree_view_get_vadjustment(treeview);


Index: sylpheed.spec
===================================================================
RCS file: /cvs/extras/rpms/sylpheed/FC-5/sylpheed.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- sylpheed.spec	9 Jun 2006 12:03:23 -0000	1.30
+++ sylpheed.spec	26 Jun 2006 10:04:03 -0000	1.31
@@ -5,7 +5,7 @@
 Summary: GTK+ based, lightweight, and fast email client
 Name: sylpheed
 Version: 2.2.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 URL: http://sylpheed.good-day.net/
 Group: Applications/Internet
@@ -23,6 +23,7 @@
 Patch1: sylpheed-2.2.3-defs.h.patch
 Patch2: sylpheed-1.9.10-desktop.patch
 Patch4: sylpheed-2.2.5-prefs_common.patch
+Patch5: sylpheed-2.2.6-summaryview-crash.patch
 
 %description
 This program is an X based fast email client which has features
@@ -44,6 +45,7 @@
 %patch1 -p1 -b .defs.h
 %patch2 -p1 -b .desktop
 %patch4 -p1 -b .prefs_common
+%patch5 -p1 -b .summaryview-crash
 
 %build
 %configure --enable-ssl %{!?_without_gpgme:--enable-gpgme} \
@@ -84,6 +86,10 @@
 %{_mandir}/man1/*
 
 %changelog
+* Mon Jun 26 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.2.6-2
+- Adapt upstream's patch to prevent a crash when switching folders
+  (sylpheed-2.2.6-summaryview-crash.patch).
+
 * Fri Jun  9 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.2.6-1
 - Update to 2.2.6 (includes the smtp_timeout patch).
 




More information about the fedora-extras-commits mailing list