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);
try { DBus.BusG. Init(); ption ("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);
Defines. VERSION,
Modules. UI, args);
NDesk.
} catch (Exception e) {
throw new ApplicationExce
}
/*
* 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,
Console. WriteLine ("Initializing Mono.Addins"); .Initialize (FSpot. Global. BaseDirectory) ; .Registry. Update (null); Registry) ; .Repositories. RegisterReposit ory (null, "http:// addins. f-spot. org", false);
AddinManager
AddinManager
SetupService setupService = new SetupService (AddinManager.
setupService