#include <iostream>
#include <sstream>
#include <string>
-#include "plaqui/server/string.h"
#include "item_codo.h"
#include "item_conduct.h"
#include "item_exclusa.h"
#include "item_or.h"
#include "item_and.h"
#include <unistd.h>
+#include <glibmm/thread.h>
Principal::Principal(BaseObjectType *co, const Glib::RefPtr<Gnome::Glade::Xml> &rg):Gtk::Window(co),refXml(rg)
{
void Principal::on_mnu_file_exit()
{
+ on_mnu_file_disconnect();
Gtk::Main::quit();
}
+bool Principal::on_delete_event(GdkEventAny *e)
+{
+ on_mnu_file_exit();
+ return false;
+}
+
void Principal::on_btn_activar_clicked()
{
if ((conexion == NULL) || (last_selected == NULL)) return;