#include <config.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
#include "GToc.h"
#include "ControlToc.h"
typestore_->clear();
vector<string> types = controller().getTypes();
-
+
// Because tiny empty ComboBoxes just look silly
int const emptycombosize = 130;
typecombo_->set_size_request(types.empty() ? emptycombosize : -1, -1);
-
+
vector<string>::iterator it = types.begin();
vector<string>::iterator end = types.end();
for(;it != end; ++it) {
toc::Toc::const_iterator cit = contents.begin();
toc::Toc::const_iterator end = contents.end();
-
+
for (int rowindex = 0; cit != end; ++cit, ++rowindex) {
Gtk::ListStore::iterator row = tocstore_->append();
(*row)[listCol_] = cit->asString();
void GToc::onTypeComboChanged()
{
- updateContents();
+ if(!changing_views_)
+ updateContents();
}