index 4ed23d7b2975464f3be01755e8fc637a1dc1faa4..acbbdb63bde4630c4f6e848a5b9d733c1fe10c19 100644 (file)
//Other options to locate here: e.g. visual snapping indicators on/off
- std::list<Gtk::ToggleButton*> slaves;
+ std::list<Gtk::Widget*> slaves;
slaves.push_back(&_rcbsnop);
slaves.push_back(&_rcbsnon);
- _rcbsnn.setSlaveButton(slaves);
+ _rcbsnn.setSlaveWidgets(slaves);
slaves.clear();
slaves.push_back(&_rcbsnbbp);
slaves.push_back(&_rcbsnbbn);
- _rcbsnbb.setSlaveButton(slaves);
+ _rcbsnbb.setSlaveWidgets(slaves);
slaves.clear();
slaves.push_back(&_rcbsnn);
slaves.push_back(&_rcbsnbb);
- _rcbsg.setSlaveButton(slaves);
+ _rcbsg.setSlaveWidgets(slaves);
Gtk::Label *label_g = manage (new Gtk::Label);
label_g->set_markup (_("<b>Snapping</b>"));
_grids_notebook.show_all();
if (grids_present)
- _grids_button_remove.show();
+ _grids_button_remove.set_sensitive(true);
else
- _grids_button_remove.hide();
+ _grids_button_remove.set_sensitive(false);
}
/**
_grids_vbox.pack_start(_grids_label_def, false, false);
_grids_vbox.pack_start(_grids_notebook, false, false);
_grids_vbox.pack_start(_grids_button_remove, false, false);
- _grids_button_remove.hide();
update_gridspage();
}