]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/constructor.cpp
Mini bugfix.
[z.facultad/75.42/plaqui.git] / Constructor / src / constructor.cpp
index 86e88421a031bb6f546695417759a0cedfaab6bf..07b016502a3b3c61b93eb671f1c5e3f3f3cbdcef 100644 (file)
@@ -23,15 +23,7 @@ Constructor::Constructor(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glad
        rev = rev.substr(6, rev.length() - 8);
        std::string s = "PlaQui Constructor versión " VERSION " (revisión ";
        s += rev + ")"; 
-       try {
-               lbl_plaqui_version->set_text(Glib::locale_to_utf8(s));
-       }
-       catch (Glib::ConvertError e) {
-               lbl_plaqui_version->set_text("PlaQui Constructor");
-       }
-       catch (...) {
-               lbl_plaqui_version->set_text("PlaQui Constructor");
-       }
+       lbl_plaqui_version->set_text(Glib::convert(s, "UTF-8", "ISO-8859-1"));
        
        refGlade->get_widget("dlgAbout", dlg_about);
        refGlade->get_widget("close_about", close_about);