X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/2b9e6a32187b73d68b8be741a408bd08c137b256..HEAD:/Constructor/src/constructor.cpp diff --git a/Constructor/src/constructor.cpp b/Constructor/src/constructor.cpp index 32ea18a..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) { - std::cout << "ConvertError " << e.code() << std::endl; - } - catch (...) { - std::cout << "Error no esperado" << std::endl; - } + 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"<