mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Herbert's fix to bug #222.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b0f054d030
commit
097595d63c
@ -1,3 +1,8 @@
|
||||
2002-01-29 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* ControlGraphic.[C]: added a button for document path
|
||||
when browsing -> bug 222
|
||||
|
||||
2002-01-27 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* ControlGraphic.[Ch]: added support for Bounding Box, other
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "Dialogs.h"
|
||||
#include "LyXView.h"
|
||||
#include "gettext.h"
|
||||
#include "lyxrc.h"
|
||||
|
||||
#include "insets/insetgraphics.h"
|
||||
#include "insets/insetgraphicsParams.h" // need operator!=()
|
||||
@ -94,9 +95,9 @@ string const ControlGraphics::Browse(string const & in_name)
|
||||
// No - bail out to system clipart directory
|
||||
clipdir = AddName (system_lyxdir, "clipart");
|
||||
pair<string, string> dir1(N_("Clipart|#C#c"), clipdir);
|
||||
|
||||
pair<string, string> dir2(N_("Documents|#o#O"), string(lyxrc.document_path));
|
||||
// Show the file browser dialog
|
||||
return browseFile(&lv_, in_name, title, pattern, dir1);
|
||||
return browseFile(&lv_, in_name, title, pattern, dir1, dir2);
|
||||
}
|
||||
|
||||
string const ControlGraphics::readBB(string const & file)
|
||||
|
Loading…
Reference in New Issue
Block a user