equal
deleted
inserted
replaced
263 entry->set_text((Glib::ustring)newmapname); |
263 entry->set_text((Glib::ustring)newmapname); |
264 } |
264 } |
265 |
265 |
266 void MapWin::registerNewNodeMap(std::string newmapname) |
266 void MapWin::registerNewNodeMap(std::string newmapname) |
267 { |
267 { |
268 for(int i=0;i<EDGE_PROPERTY_NUM;i++) |
268 for(int i=0;i<NODE_PROPERTY_NUM;i++) |
269 { |
269 { |
270 //filling in combo box with choices |
270 //filling in combo box with choices |
271 std::list<Glib::ustring> listStrings=n_combo_array[i].get_popdown_strings(); |
271 std::list<Glib::ustring> listStrings=n_combo_array[i].get_popdown_strings(); |
272 listStrings.push_back(newmapname); |
272 listStrings.push_back(newmapname); |
273 n_combo_array[i].set_popdown_strings(listStrings); |
273 n_combo_array[i].set_popdown_strings(listStrings); |
274 } |
274 } |
275 } |
275 Gtk::Entry* entry = n_combo_array[N_TEXT].get_entry(); |
|
276 entry->set_text((Glib::ustring)newmapname); |
|
277 } |