/* This file is part of * ================================================= * * LyX, The Document Processor * Copyright 1995-2000 The LyX Team. * * ================================================= * * \author Michael Koziarski */ #ifdef __GNUG__ #pragma implementation #endif #include #include "debug.h" #include "gnomeBC.h" #include "FormCopyright.h" #include "gnome_helpers.h" #include #include FormCopyright::FormCopyright(ControlCopyright & c) : FormCB(c, "diahelpcopyright.glade", "DiaHelpCopyright") { } void FormCopyright::build() { ok()->clicked.connect(SigC::slot(this, &FormCopyright::CancelClicked)); copyright()->set(controller().getCopyright()); license()->set(controller().getLicence()); disclaimer()->set(controller().getDisclaimer()); } Gtk::Button * FormCopyright::ok() { return getWidget("copyright_button_ok"); } Gtk::Label * FormCopyright::disclaimer() { return getWidget("copyright_disclaimer"); } Gtk::Label * FormCopyright::copyright() { return getWidget("copyright_copyright"); } Gtk::Label * FormCopyright::license() { return getWidget("copyright_license"); }