From 85c366bda9f25b1249ba8333604eb3e757bc6edf Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 26 Sep 2005 10:28:48 +0000 Subject: Implement launch links. Delegate external link opening to the window. 2005-09-26 Marco Pesenti Gritti * 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. --- (limited to 'pdf/ev-poppler.cc') 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); -- cgit v0.9.1