summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorJosé Aliste <[email protected]>2013-02-13 16:24:07 +0100
committerraveit65 <[email protected]>2017-08-28 16:04:00 +0200
commit92bc7323814536b183b6091ee3be692e8e2a702d (patch)
treef092c82ed225053965a808357d61dc46c1e5133f /libview
parent4fc55be84bb852515958c2030d1109c783d5698f (diff)
downloadatril-92bc7323814536b183b6091ee3be692e8e2a702d.tar.bz2
atril-92bc7323814536b183b6091ee3be692e8e2a702d.tar.xz
libview: Handle activation link of a Form Field if present
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=90e431d
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index d93d4ad4..20fc0470 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -2434,6 +2434,9 @@ ev_view_handle_form_field (EvView *view,
if (field->is_read_only)
return;
+
+ if (field->activation_link)
+ ev_view_handle_link (view, field->activation_link);
if (EV_IS_FORM_FIELD_BUTTON (field)) {
field_widget = ev_view_form_field_button_create_widget (view, field);