Drain::Drain()
{
- imageE = Gdk::Pixbuf::create_from_file("drain_e.png");
- imageO = Gdk::Pixbuf::create_from_file("drain_o.png");
- imageN = Gdk::Pixbuf::create_from_file("drain_n.png");
- imageS = Gdk::Pixbuf::create_from_file("drain_s.png");
- null = Gdk::Pixbuf::create_from_file("null.png");
+ imageE = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_e.png");
+ imageO = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_o.png");
+ imageN = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_n.png");
+ imageS = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_s.png");
+ null = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/null.png");
imgActual = 0;
image = imageN;
set_size_request(image->get_width(), image->get_height());