Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-02-28 04:03:27 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-02-28 04:03:27 (GMT)
commita9bcdd80180c7417fe9e2d9e25dcfc3f8a781c5f (patch)
treef9a671a33dca66e9c78938fab86afb9ad73e7fc9 /pdf
parentbab5a16571364233e1ea383119fe0e35bbdf993e (diff)
Handle title links for real. Gosh, how long has this been broken.
Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-links.c (do_one_iteration): Handle title links for real. Gosh, how long has this been broken. * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the check for a NULL link. We crash otherwise.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/xpdf/pdf-document.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf/xpdf/pdf-document.cc b/pdf/xpdf/pdf-document.cc
index 49da9e9..41c2eb8 100644
--- a/pdf/xpdf/pdf-document.cc
+++ b/pdf/xpdf/pdf-document.cc
@@ -813,7 +813,9 @@ build_link_from_action (PdfDocument *pdf_document,
{
EvLink *link = NULL;
- if (link_action->getKind () == actionGoToR) {
+ if (link_action == NULL) {
+ link = ev_link_new_title (title);
+ } else if (link_action->getKind () == actionGoToR) {
g_warning ("actionGoToR links not implemented");
} else if (link_action->getKind () == actionLaunch) {
g_warning ("actionLaunch links not implemented");