Comment 3 for bug 139050

Revision history for this message
e (0x0065) wrote :

   try {
    NDesk.DBus.BusG.Init();
   } catch (Exception e) {
    throw new ApplicationException ("F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using \"dbus-launch f-spot\"", e);
   }
   /*
    * FIXME we need to inialize gobject before making the dbus calls, we'll go
    * ahead and do it like this for now.
    */
   program = new Program (Defines.PACKAGE,
            Defines.VERSION,
            Modules.UI, args);

   Console.WriteLine ("Initializing Mono.Addins");
   AddinManager.Initialize (FSpot.Global.BaseDirectory);
   AddinManager.Registry.Update (null);
   SetupService setupService = new SetupService (AddinManager.Registry);
   setupService.Repositories.RegisterRepository (null, "http://addins.f-spot.org", false);