X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlGraphics.C;h=6c13079749ced608abd41be664518a1e3c4139b5;hb=96e9048c24b7ec1b4cbdf9f470fcea8bf900b8d0;hp=9aa77fa2eacfbc9e8081ba832f25a94a8f6b8fd8;hpb=72cc3e1f65086d8d00a7c7c32ffb9163f01436b1;p=lyx.git diff --git a/src/frontends/controllers/ControlGraphics.C b/src/frontends/controllers/ControlGraphics.C index 9aa77fa2ea..6c13079749 100644 --- a/src/frontends/controllers/ControlGraphics.C +++ b/src/frontends/controllers/ControlGraphics.C @@ -77,7 +77,7 @@ extern string user_lyxdir; string const ControlGraphics::Browse(string const & in_name) { - string const title = N_("Graphics"); + string const title = N_("Graphics|#G#g"); // FIXME: currently we need the second '|' to prevent mis-interpretation string const pattern = "*.(eps|png|jpeg|jpg|gif)|"; @@ -87,9 +87,8 @@ string const ControlGraphics::Browse(string const & in_name) if (!(fileInfo.isOK() && fileInfo.isDir())) // No - bail out to system clipart directory clipdir = AddName (system_lyxdir, "clipart"); - pair dir1(N_("Clipart"), clipdir); + pair dir1(N_("Clipart|#C#c"), clipdir); // Show the file browser dialog - return browseFile(&lv_, in_name, title, pattern, dir1, - make_pair(string(), string())); + return browseFile(&lv_, in_name, title, pattern, dir1); }