2001-02-06 17:41:42 +00:00
|
|
|
/* FormVCLog.C
|
|
|
|
* (C) 2001 LyX Team
|
|
|
|
* John Levon, moz@compsoc.man.ac.uk
|
|
|
|
*/
|
|
|
|
|
2001-07-13 14:03:48 +00:00
|
|
|
#include <config.h>
|
|
|
|
#include "Lsstream.h"
|
|
|
|
|
2001-02-06 17:41:42 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#include "xformsBC.h"
|
|
|
|
#include "ControlVCLog.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
#include "FormVCLog.h"
|
|
|
|
#include "form_browser.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
#include "gettext.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
FormVCLog::FormVCLog(ControlVCLog & c)
|
|
|
|
: FormCB<ControlVCLog, FormBrowser>(c, _("Version Control Log"))
|
|
|
|
{}
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
void FormVCLog::update()
|
|
|
|
{
|
|
|
|
fl_clear_browser(dialog_->browser);
|
|
|
|
|
2001-07-13 14:03:48 +00:00
|
|
|
stringstream ss;
|
2001-04-11 17:53:45 +00:00
|
|
|
|
|
|
|
fl_add_browser_line(dialog_->browser,
|
|
|
|
controller().getVCLogFile(ss).str().c_str());
|
2001-02-06 17:41:42 +00:00
|
|
|
}
|