X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fmain.cpp;h=e53a483c977a03d04ec2d4dfb9812957d4145494;hb=75d9450af83a2fc392104c537aab2aed2f3d1142;hp=5f5933b41119a573d8b5d8036ee4380a50316783;hpb=82172e34b62d1e335b1deb00bfc714e293f1c165;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/main.cpp b/synfig-studio/trunk/src/gtkmm/main.cpp index 5f5933b..e53a483 100644 --- a/synfig-studio/trunk/src/gtkmm/main.cpp +++ b/synfig-studio/trunk/src/gtkmm/main.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -34,6 +35,8 @@ #include "ipc.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -55,6 +58,11 @@ using namespace studio; int main(int argc, char **argv) { + + setlocale(LC_ALL, ""); + bindtextdomain("synfigstudio", LOCALEDIR); + textdomain("synfigstudio"); + { SmartFILE file(IPC::make_connection()); if(file) @@ -85,11 +93,6 @@ int main(int argc, char **argv) app.run(); } - catch(synfig::SoftwareExpired) - { - cerr<<"FATAL: Software Expired"<