[f-spot] allow to build with MA 0.5



commit 4deda53c9db0184899d78e0157d574181b8732d6
Author: Stephane Delcroix <stephane delcroix org>
Date:   Thu Dec 3 13:49:28 2009 +0100

    allow to build with MA 0.5

 src/main.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/main.cs b/src/main.cs
index 771498f..254f56c 100644
--- a/src/main.cs
+++ b/src/main.cs
@@ -70,6 +70,7 @@ namespace FSpot
 
 			GLib.GType.Init ();
 			Catalog.Init ("f-spot", Defines.LOCALE_DIR);
+			Catalog.Init ("mono-addins", Defines.LOCALE_DIR);
 			
 			FSpot.Global.PhotoDirectory = Preferences.Get<string> (Preferences.STORAGE_PATH);
 			for (int i = 0; i < args.Length && !shutdown; i++) {
@@ -191,7 +192,7 @@ namespace FSpot
 
 
 			//Gtk initialization
-			Application.Init (Defines.PACKAGE, ref args);
+			Gtk.Application.Init (Defines.PACKAGE, ref args);
 			Gnome.Vfs.Vfs.Initialize ();
 
 			// init web proxy globally
@@ -241,7 +242,7 @@ namespace FSpot
 	
 				if (App.Instance.IsRunning)
 					return 0;
-				Application.Run ();
+				Gtk.Application.Run ();
 			} catch (System.Exception e) {
 				Log.Exception (e);
 				ExceptionDialog dlg = new ExceptionDialog(e);



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