*/
#include <config.h>
-#include <gtkmm.h>
-#include <libglademm.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "ControlCommand.h"
#include "GUrl.h"
-#include "support/filetools.h"
+#include "ghelpers.h"
+
#include "support/lstrings.h"
+#include <gtkmm.h>
+#include <libglademm.h>
+
using std::string;
+namespace lyx {
+namespace frontend {
+
+
GUrl::GUrl(Dialog & parent)
: GViewCB<ControlCommand, GViewGladeB>(parent, _("URL"))
{
void GUrl::doBuild()
{
- string const gladeName =
- lyx::support::LibFileSearch("glade", "url", "glade");
+ string const gladeName = findGladeFile("url");
xml_ = Gnome::Glade::Xml::create(gladeName);
Gtk::Button * restore;
Gtk::Button * ok;
bcview().addReadOnly(htmlType_);
url_->signal_changed().connect(
- SigC::slot(*this, &GUrl::onEntryChanged));
+ sigc::mem_fun(*this, &GUrl::onEntryChanged));
name_->signal_changed().connect(
- SigC::slot(*this, &GUrl::onEntryChanged));
+ sigc::mem_fun(*this, &GUrl::onEntryChanged));
}
else
controller().params().setCmdName("url");
}
+
+} // namespace frontend
+} // namespace lyx