X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fmain.cpp;h=15dc9d6c4d23dc0d15b1f64697527fcae3954b46;hb=b830d30a073ff70f1113339ba8a0785363138fad;hp=e6485bc6ce440312d78f8be220693a4e2d1f7d06;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/main.cpp b/synfig-studio/trunk/src/gtkmm/main.cpp index e6485bc..15dc9d6 100644 --- a/synfig-studio/trunk/src/gtkmm/main.cpp +++ b/synfig-studio/trunk/src/gtkmm/main.cpp @@ -35,6 +35,8 @@ #include "ipc.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -56,6 +58,13 @@ using namespace studio; int main(int argc, char **argv) { + +#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + bindtextdomain("synfigstudio", LOCALEDIR); + textdomain("synfigstudio"); +#endif + { SmartFILE file(IPC::make_connection()); if(file) @@ -86,11 +95,6 @@ int main(int argc, char **argv) app.run(); } - catch(synfig::SoftwareExpired) - { - cerr<<"FATAL: Software Expired"<