]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/ev-poppler.cc
Fixed typo in findbar code: s/help/search/
[evince.git] / pdf / ev-poppler.cc
index efdd15f28aef4cb6762f429bfb2bd20b312304fc..f6b1d64fa195387d2475d5039b84e8d42c3bfd28 100644 (file)
@@ -831,7 +831,9 @@ ev_link_dest_from_dest (PopplerDest *dest)
        }
        
        if (unimplemented_dest) {
-               g_warning ("Unimplemented destination: %s, please post a bug report with a testcase.",
+               g_warning ("Unimplemented named action: %s, please post a "
+                          "bug report in Evince bugzilla "
+                          "(http://bugzilla.gnome.org) with a testcase.",
                           unimplemented_dest);
        }
 
@@ -873,7 +875,7 @@ ev_link_from_action (PopplerAction *action)
                        ev_action = ev_link_action_new_external_uri (action->uri.uri);
                        break;
                case POPPLER_ACTION_NAMED:
-                       unimplemented_action = "POPPLER_ACTION_NAMED";
+                       ev_action = ev_link_action_new_named (action->named.named_dest);
                        break;
                case POPPLER_ACTION_MOVIE:
                        unimplemented_action = "POPPLER_ACTION_MOVIE";
@@ -964,6 +966,7 @@ build_tree (PdfDocument      *pdf_document,
                if (child)
                        build_tree (pdf_document, model, &tree_iter, child);
                poppler_index_iter_free (child);
+               poppler_action_free (action);
                
        } while (poppler_index_iter_next (iter));
 }