*/
#include <config.h>
-#include <gtkmm.h>
+
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GBC.h"
void GBC::setButtonLabel(Gtk::Button * btn, string const & label) const
{
- btn->set_label(Glib::locale_to_utf8(label));
+ // GTK+ Stock buttons take precedence
+ if (!btn->get_use_stock())
+ btn->set_label(Glib::locale_to_utf8(label));
}
} // namespace frontend