]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormVCLog.C
remove defaults stuff, let Qt handle no toolbar
[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
15 #include "xformsBC.h"
16 #include "ControlVCLog.h"
17 #include "FormVCLog.h"
18 #include "forms/form_browser.h"
19 #include "gettext.h"
20 #include FORMS_H_LOCATION
21
22
23 FormVCLog::FormVCLog(Dialog & parent)
24         : FormController<ControlVCLog, FormBrowser>(parent, _("Version Control Log"))
25 {}
26
27
28 void FormVCLog::update()
29 {
30         fl_clear_browser(dialog_->browser);
31
32         ostringstream ss;
33         controller().getVCLogFile(ss);
34
35         fl_add_browser_line(dialog_->browser, ss.str().c_str());
36 }