]> git.lyx.org Git - features.git/commitdiff
Fix bug #6293 as suggested there: We change the title of the PDF
authorRichard Heck <rgheck@comcast.net>
Wed, 7 Dec 2011 21:15:37 +0000 (21:15 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 7 Dec 2011 21:15:37 +0000 (21:15 +0000)
options pane if hyperref is already provided.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40423 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDocument.cpp
status.20x

index efa00689427cb189f508211b31cb2201503686f5..489cf89394ae97cc47b6f2cfff3cdc3d34a372d9 100644 (file)
@@ -3030,6 +3030,10 @@ void GuiDocument::paramsToDialog()
        // PDF support
        PDFOptions const & pdf = bp_.pdfoptions();
        pdfSupportModule->use_hyperrefGB->setChecked(pdf.use_hyperref);
+       if (bp_.documentClass().provides("hyperref"))
+               pdfSupportModule->use_hyperrefGB->setTitle(qt_("C&ustomize Hyperref Options"));
+       else
+               pdfSupportModule->use_hyperrefGB->setTitle(qt_("&Use Hyperref Support"));
        pdfSupportModule->titleLE->setText(toqstr(pdf.title));
        pdfSupportModule->authorLE->setText(toqstr(pdf.author));
        pdfSupportModule->subjectLE->setText(toqstr(pdf.subject));
index 12274bc8e47a7d3f72075733f18b6ea68041f20d..86593c528c93947624f49279d5cb305224269112 100644 (file)
@@ -41,6 +41,9 @@ What's new
 
 - Added scalable LyX icon in svg format (bug 7919).
 
+- Clarify what the user can do when hyperref is provided by the document
+  class (bug 6293).
+
 
 * DOCUMENTATION AND LOCALIZATION