Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/ev-poppler.cc
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-09-26 10:28:48 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-09-26 10:28:48 (GMT)
commit85c366bda9f25b1249ba8333604eb3e757bc6edf (patch)
tree6b7287013297ea1d23c295f3c3b4f6cee198a949 /pdf/ev-poppler.cc
parentb66c8a73177b462aebcb6e495341807abb31a93f (diff)
Implement launch links. Delegate external link opening to the window.
2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_filename), (ev_link_get_params), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init): * shell/ev-window.c: (launch_link), (view_external_link_cb), (ev_window_init): Implement launch links. Delegate external link opening to the window.
Diffstat (limited to 'pdf/ev-poppler.cc')
-rw-r--r--pdf/ev-poppler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc
index 30b5a72..c8405d3 100644
--- a/pdf/ev-poppler.cc
+++ b/pdf/ev-poppler.cc
@@ -784,7 +784,8 @@ ev_link_from_action (PopplerAction *action)
unimplemented_action = "POPPLER_ACTION_GOTO_REMOTE";
break;
case POPPLER_ACTION_LAUNCH:
- unimplemented_action = "POPPLER_ACTION_LAUNCH";
+ link = ev_link_new_launch (title, action->launch.file_name,
+ action->launch.params);
break;
case POPPLER_ACTION_URI:
link = ev_link_new_external (title, action->uri.uri);