From: Richard Heck Date: Wed, 7 Dec 2011 21:15:37 +0000 (+0000) Subject: Fix bug #6293 as suggested there: We change the title of the PDF X-Git-Tag: 2.0.3~143 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cbc62641e526a334de5d7c8a415e5ade9f118deb;p=features.git Fix bug #6293 as suggested there: We change the title of the PDF 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 --- diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index efa0068942..489cf89394 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -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)); diff --git a/status.20x b/status.20x index 12274bc8e4..86593c528c 100644 --- a/status.20x +++ b/status.20x @@ -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