static Client ()
{
Gtk.Application.Init ();
ThreadAssist.InitializeMainThread ();
ThreadAssist.ProxyToMainHandler = RunIdle;
Hyena.Log.Notify += OnLogNotify;
Gtk.Window.DefaultIconName = "pdfmod";
try {
if (System.IO.File.Exists (accel_map_file)) {
Gtk.AccelMap.Load (accel_map_file);
Hyena.Log.DebugFormat ("Loaded custom AccelMap from {0}", accel_map_file);
}
} catch (Exception e) {
Hyena.Log.Exception ("Failed to load custom AccelMap", e);
}
}