]> git.lyx.org Git - features.git/commitdiff
* InsetBibtex.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 28 Apr 2008 13:13:42 +0000 (13:13 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 28 Apr 2008 13:13:42 +0000 (13:13 +0000)
- some more tooltip information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibtex.cpp

index 200a3c5841ee2ccdaeb721690c51cd6c08bb8ef7..4394992e9687749b9c62a61923190e014fef9558 100644 (file)
@@ -121,9 +121,11 @@ docstring InsetBibtex::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/)
        }
 
        // Style-Options
+       bool toc = false;
        docstring style = getParam("options"); // maybe empty! and with bibtotoc
        docstring bibtotoc = from_ascii("bibtotoc");
        if (prefixIs(style, bibtotoc)) {
+               toc = true;
                if (contains(style, char_type(',')))
                        style = split(style, bibtotoc, char_type(','));
        }
@@ -135,6 +137,20 @@ docstring InsetBibtex::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/)
        else
                tip += _("none");
 
+       tip += _("\nLists: ");
+       docstring btprint = getParam("btprint");
+               if (btprint == "btPrintAll")
+                       tip += _("all references");
+               else if (btprint == "btPrintNotCited")
+                       tip += _("all uncited references");
+               else
+                       tip += _("all cited references");
+       
+       if (toc) {
+               tip += ", ";
+               tip += _("included in TOC");
+       }
+
        return tip;
 }