f-spot r3881 - in trunk: . src/Imaging src/UI.Dialog
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3881 - in trunk: . src/Imaging src/UI.Dialog
- Date: Wed, 7 May 2008 22:40:59 +0100 (BST)
Author: sdelcroix
Date: Wed May 7 21:40:59 2008
New Revision: 3881
URL: http://svn.gnome.org/viewvc/f-spot?rev=3881&view=rev
Log:
2008-05-07 Stephane Delcroix <sdelcroix novell com>
* src/Imaging/ImageFile.cs: embed a localized message with the
NotImplementedException. Fixes bnc #256636.
Modified:
trunk/ChangeLog
trunk/src/Imaging/ImageFile.cs
trunk/src/UI.Dialog/EditExceptionDialog.cs
Modified: trunk/src/Imaging/ImageFile.cs
==============================================================================
--- trunk/src/Imaging/ImageFile.cs (original)
+++ trunk/src/Imaging/ImageFile.cs Wed May 7 21:40:59 2008
@@ -83,7 +83,7 @@
public virtual void Save (Gdk.Pixbuf pixbuf, System.IO.Stream stream)
{
- throw new NotImplementedException ();
+ throw new NotImplementedException (Catalog.GetString ("Writing to this file format is not implemented"));
}
protected Gdk.Pixbuf TransformAndDispose (Gdk.Pixbuf orig)
Modified: trunk/src/UI.Dialog/EditExceptionDialog.cs
==============================================================================
--- trunk/src/UI.Dialog/EditExceptionDialog.cs (original)
+++ trunk/src/UI.Dialog/EditExceptionDialog.cs Wed May 7 21:40:59 2008
@@ -38,6 +38,8 @@
Catalog.GetString ("Error editing photo"),
GenerateMessage (errors))
{
+ foreach (Exception e in errors)
+ Console.WriteLine (e);
}
public EditExceptionDialog (Gtk.Window parent, Exception e, IBrowsableItem item) : this (parent, new EditException (item, e))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]