mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Herbert's patch, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2556 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
298038a2ae
commit
00d24ec876
@ -1,3 +1,8 @@
|
||||
2001-08-20 Herbert Voss <voss@perce.de>
|
||||
|
||||
* ControlBibtex.[Ch]: enhanced bibtex-data gui to browse for databases
|
||||
and styles. Added an option for "bibliography into toc"
|
||||
|
||||
2001-08-15 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* character.[Ch]: remove LATEX_TOGGLE from the FONT_STATE enum as
|
||||
|
@ -10,6 +10,7 @@
|
||||
* \file ControlBibtex.C
|
||||
* \author John Levon, moz@compsoc.man.ac.uk
|
||||
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
||||
* \author Herbert Voss <voss@lyx.org>
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
@ -26,8 +27,13 @@
|
||||
#include "LyXView.h"
|
||||
#include "buffer.h"
|
||||
#include "BufferView.h"
|
||||
#include "lyxrc.h"
|
||||
#include "helper_funcs.h"
|
||||
#include "gettext.h"
|
||||
|
||||
using SigC::slot;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
ControlBibtex::ControlBibtex(LyXView & lv, Dialogs & d)
|
||||
: ControlCommand(lv, d)
|
||||
@ -53,3 +59,13 @@ void ControlBibtex::applyParamsToInset()
|
||||
|
||||
void ControlBibtex::applyParamsNoInset()
|
||||
{}
|
||||
|
||||
|
||||
string const ControlBibtex::Browse(string const & in_name,
|
||||
string const & title,
|
||||
string const & pattern)
|
||||
{
|
||||
pair<string, string> dir1(N_("Documents"), string(lyxrc.document_path));
|
||||
return browseFile(&lv_, in_name, title, pattern,
|
||||
dir1,make_pair(string(), string()));
|
||||
}
|
||||
|
@ -29,7 +29,9 @@ class ControlBibtex : public ControlCommand
|
||||
public:
|
||||
///
|
||||
ControlBibtex(LyXView &, Dialogs &);
|
||||
|
||||
/// Browse for a file
|
||||
string const Browse(string const &, string const &, string const &);
|
||||
|
||||
private:
|
||||
/// Dispatch the changed parameters to the kernel.
|
||||
virtual void applyParamsToInset();
|
||||
|
Loading…
Reference in New Issue
Block a user