rpms/beagle/F-9 beagle-0.3.8-category-crash.patch, NONE, 1.1 beagle.spec, 1.146, 1.147

Adel Gadllah drago01 at fedoraproject.org
Sun Nov 9 07:34:23 UTC 2008


Author: drago01

Update of /cvs/pkgs/rpms/beagle/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17007

Modified Files:
	beagle.spec 
Added Files:
	beagle-0.3.8-category-crash.patch 
Log Message:
Fix crash by backporting upstream fix

beagle-0.3.8-category-crash.patch:

--- NEW FILE beagle-0.3.8-category-crash.patch ---
diff -upNr beagle-0.3.8.orign/search/Beagle.Search/GroupView.cs beagle-0.3.8/search/Beagle.Search/GroupView.cs
--- beagle-0.3.8.orign/search/Beagle.Search/GroupView.cs	2008-04-25 18:46:12.000000000 +0200
+++ beagle-0.3.8/search/Beagle.Search/GroupView.cs	2008-11-08 19:41:24.000000000 +0100
@@ -179,12 +179,14 @@ namespace Beagle.Search {
 			}
 		}
 
-		private void OnCategoryToggle (ScopeType catScope)
+		private void OnCategoryToggle (ScopeType category_scope)
 		{
 			// we're not using the set function cause we directly
 			// close/open the expander in Category.cs
-			scope = scope ^ catScope;
-			CategoryToggled (catScope);
+			scope = scope ^ category_scope;
+			
+			if (CategoryToggled != null)
+				CategoryToggled (category_scope);
 		}
 	}
 }


Index: beagle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beagle/F-9/beagle.spec,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- beagle.spec	29 Oct 2008 21:11:29 -0000	1.146
+++ beagle.spec	9 Nov 2008 07:33:53 -0000	1.147
@@ -1,6 +1,6 @@
 Name:           beagle
 Version:        0.3.8
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        The Beagle Search Infrastructure
 Group:          User Interface/Desktops
 # see COPYING for details
@@ -54,7 +54,8 @@
 Patch6: beagle-monodoc.patch
 Patch7: beagle-0.3.8-typo-fix.patch
 Patch8: beagle-0.3.8-desktop-parser.patch
-
+#svn commit r4855
+Patch9: beagle-0.3.8-category-crash.patch
 # Mono is not available on these arches 
 ExcludeArch: s390 s390x sparc64 ppc64
 
@@ -147,6 +148,7 @@
 %patch6 -p1 -b .monodoc
 %patch7 -p1 -b .typo
 %patch8 -p1 -b .desktop-parser
+%patch9 -p1 -b .category-crash
 
 %build
 autoconf
@@ -339,6 +341,9 @@
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sun Nov 09 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.8-7
+- Fix crash in the gnome UI (RH #469383)
+
 * Wed Oct 29 2008 Xavier Lamien <lxtnow at gmail.com> - 0.3.8-6
 - Rebuild against new gtk-sharp2.
 




More information about the fedora-extras-commits mailing list