[Pkg-sugar-commit] [sugar-read-activity] 04/06: Revert evince-2.24 support

Sebastian Silva icarito-guest at moszumanska.debian.org
Sun Jun 21 04:20:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

icarito-guest pushed a commit to annotated tag v67
in repository sugar-read-activity.

commit 2d872ad2d56e7d217d39ca8d16651d1fd84316d0
Author: Aleksey Lim <alsroot at member.fsf.org>
Date:   Thu Apr 23 19:44:15 2009 +0000

    Revert evince-2.24 support
---
 readactivity.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/readactivity.py b/readactivity.py
index e1dbc42..d48a4be 100644
--- a/readactivity.py
+++ b/readactivity.py
@@ -96,6 +96,10 @@ class ReadActivity(activity.Activity):
     def __init__(self, handle):
         activity.Activity.__init__(self, handle)
 
+        if hasattr(evince, 'evince_embed_init'):
+            # if we use evince-2.24
+            evince.evince_embed_init()
+
         self._document = None
         self._fileserver = None
         self._object_id = handle.object_id

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-read-activity.git



More information about the pkg-sugar-commit mailing list