File beagle-fix-toggle-crash.patch of Package beagle

diff -ur /usr/src/packages/BUILD/beagle-0.3.8/search/Beagle.Search/GroupView.cs ./search/Beagle.Search/GroupView.cs
--- search/Beagle.Search/GroupView.cs	2008-10-15 14:58:38.000000000 -0400
+++ search/Beagle.Search/GroupView.cs	2008-10-15 14:58:33.000000000 -0400
@@ -247,7 +248,8 @@
 			// we're not using the set function cause we directly
 			// close/open the expander in Category.cs
 			scope = scope ^ catScope;
-			CategoryToggled (catScope);
+			if (CategoryToggled != null)
+				CategoryToggled (catScope);
 		}
 	}
 }
openSUSE Build Service is sponsored by