summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-07-11 11:07:23 +0530
committerrootavish <[email protected]>2014-07-11 11:07:23 +0530
commit9ba6ad9e22e51fb865df24327280c096cbef7f47 (patch)
tree68d19037c21ad6714aa1a740b9b32d962f96452e
parent423af80ad421a8a19e1c4be0c6851dff845a0f6c (diff)
downloadatril-9ba6ad9e22e51fb865df24327280c096cbef7f47.tar.bz2
atril-9ba6ad9e22e51fb865df24327280c096cbef7f47.tar.xz
Fixing the PDF annotations
Last time I screwed up annotations in PDF, due to a small error, here's the fix.
-rw-r--r--shell/ev-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 900d9155..7c5011dc 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5834,7 +5834,7 @@ sidebar_annots_annot_activated_cb (EvSidebarAnnotations *sidebar_annots,
EvMapping *annot_mapping,
EvWindow *window)
{
- if (window->priv->document->iswebdocument == FALSE ) return;
+ if (window->priv->document->iswebdocument == TRUE ) return;
ev_view_focus_annotation (EV_VIEW (window->priv->view), annot_mapping);
}
@@ -5843,7 +5843,7 @@ sidebar_annots_begin_annot_add (EvSidebarAnnotations *sidebar_annots,
EvAnnotationType annot_type,
EvWindow *window)
{
- if (window->priv->document->iswebdocument == FALSE ) return;
+ if (window->priv->document->iswebdocument == TRUE ) return;
ev_view_begin_add_annotation (EV_VIEW (window->priv->view), annot_type);
}
@@ -5860,7 +5860,7 @@ static void
sidebar_annots_annot_add_cancelled (EvSidebarAnnotations *sidebar_annots,
EvWindow *window)
{
- if (window->priv->document->iswebdocument == FALSE ) return;
+ if (window->priv->document->iswebdocument == TRUE ) return;
ev_view_cancel_add_annotation (EV_VIEW (window->priv->view));
}