f-spot r4073 - trunk/extensions/BeagleService



Author: sdelcroix
Date: Thu Jun 19 18:37:58 2008
New Revision: 4073
URL: http://svn.gnome.org/viewvc/f-spot?rev=4073&view=rev

Log:
Fix for bgo 539072

Modified:
   trunk/extensions/BeagleService/BeagleService.addin.xml
   trunk/extensions/BeagleService/BeagleService.cs

Modified: trunk/extensions/BeagleService/BeagleService.addin.xml
==============================================================================
--- trunk/extensions/BeagleService/BeagleService.addin.xml	(original)
+++ trunk/extensions/BeagleService/BeagleService.addin.xml	Thu Jun 19 18:37:58 2008
@@ -1,6 +1,6 @@
 <Addin namespace="FSpot"
 	id="BeagleService"
-	version="0.4.4.0"
+	version="0.4.4.1"
 	description="Notify Beagle on image changes"
 	author="Stephane Delcroix"
 	url="http://f-spot.org/Extensions";

Modified: trunk/extensions/BeagleService/BeagleService.cs
==============================================================================
--- trunk/extensions/BeagleService/BeagleService.cs	(original)
+++ trunk/extensions/BeagleService/BeagleService.cs	Thu Jun 19 18:37:58 2008
@@ -41,7 +41,11 @@
 			Log.Debug ("Notifying beagle");
 			foreach (DbItem item in args.Items) {
 				if (item as Photo != null)
-					BeagleNotifier.SendUpdate (item as Photo);
+					try {
+						BeagleNotifier.SendUpdate (item as Photo);
+					} catch (Exception e) {
+						Log.DebugFormat ("BeagleNotifier.SendUpdate failed with {0}", e.Message);
+					}
 			}
 #endif
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]