+
+
+bool WorkPlace::on_button_pressed(GdkEventButton *e)
+{
+ return true;
+}
+
+void WorkPlace::delete_item(int id)
+{
+ std::list<CItem*>::iterator i = listaItems->begin();
+ while ( i != listaItems->end() ){
+ CItem *temp = *i;
+ if ( temp->get_id() == id ){
+ listaItems->erase(i);
+ delete temp;
+ break;
+ }
+ i++;
+ }
+}