X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/8b534337b9e7ef8a753c61461c0ecb53be47c863..HEAD:/Constructor/src/constructor.cpp diff --git a/Constructor/src/constructor.cpp b/Constructor/src/constructor.cpp index cefdbdd..07b0165 100644 --- a/Constructor/src/constructor.cpp +++ b/Constructor/src/constructor.cpp @@ -23,15 +23,7 @@ Constructor::Constructor(BaseObjectType* cobject, const Glib::RefPtrset_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); @@ -229,7 +221,12 @@ void Constructor::on_main_menu_quit() else Gtk::Main::quit(); } - +bool Constructor::on_delete_event(GdkEventAny *e) +{ + std::cout<<"terminando constructor"<