- // preparo para leer el archivo ChangeLog
-/* Glib::RefPtr<Gnome::Glade::Xml> xml;
- Glib::ustring line;
- Glib::RefPtr<Gtk::TextBuffer> log_buffer;
- Glib::RefPtr<Glib::IOChannel> log_io;
-
- log_buffer = Gtk::TextBuffer::create();
- log_io = Glib::IOChannel::create_from_file("../ChangeLog", "r");
- while (log_io->read_line(line) != Glib::IO_STATUS_EOF) {
- log_buffer->insert_at_cursor(line);
- }
-
- try {
- xml = Gnome::Glade::Xml::create("client.glade", "dlgAbout");
- }
- catch(const Gnome::Glade::XmlError &ex) {
- std::cerr << ex.what() << std::endl;
- return;
- }
- Gtk::Window *dlg = 0;
- Gtk::Button *btn_cerrar = 0;
- Gtk::TextView *txt_changelog = 0;
- xml->get_widget("dlgAbout", dlg);
- xml->get_widget("btn_close", btn_cerrar);
- xml->get_widget("txt_changelog", txt_changelog);
- btn_cerrar->signal_clicked().connect(SigC::slot(*dlg, &Gtk::Dialog::hide));
- txt_changelog->set_buffer(log_buffer);
- dlg->show();*/