]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormVCLog.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormVCLog.C
1 /**
2  * \file FormVCLog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12 #include "Lsstream.h"
13
14 #ifdef __GNUG__
15 #pragma implementation
16 #endif
17
18 #include "xformsBC.h"
19 #include "ControlVCLog.h"
20 #include "FormVCLog.h"
21 #include "forms/form_browser.h"
22 #include "gettext.h"
23 #include FORMS_H_LOCATION
24
25 FormVCLog::FormVCLog()
26         : FormCB<ControlVCLog, FormBrowser>(_("Version Control Log"))
27 {}
28
29
30 void FormVCLog::update()
31 {
32         fl_clear_browser(dialog_->browser);
33
34         stringstream ss;
35
36         fl_add_browser_line(dialog_->browser,
37                             controller().getVCLogFile(ss).str().c_str());
38 }