mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
6a1167adab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
40 lines
735 B
C
40 lines
735 B
C
/**
|
|
* \file FormVCLog.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include "Lsstream.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "xformsBC.h"
|
|
#include "ControlVCLog.h"
|
|
#include "FormVCLog.h"
|
|
#include "forms/form_browser.h"
|
|
#include "gettext.h"
|
|
#include FORMS_H_LOCATION
|
|
|
|
|
|
FormVCLog::FormVCLog()
|
|
: FormCB<ControlVCLog, FormBrowser>(_("Version Control Log"))
|
|
{}
|
|
|
|
|
|
void FormVCLog::update()
|
|
{
|
|
fl_clear_browser(dialog_->browser);
|
|
|
|
ostringstream ss;
|
|
controller().getVCLogFile(ss);
|
|
|
|
fl_add_browser_line(dialog_->browser, ss.str().c_str());
|
|
}
|