diff options
-rw-r--r-- | XbookActivity.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/XbookActivity.py b/XbookActivity.py index 7806479..d994080 100644 --- a/XbookActivity.py +++ b/XbookActivity.py @@ -1,3 +1,5 @@ +import os + import gtk import evince @@ -13,7 +15,7 @@ class XbookActivity(Activity): self.add(scrolled) scrolled.show() - test_file = 'file:///home/manu/Desktop/OLPC.pdf' + test_file = 'file://' + os.path.expanduser('~/test.pdf') view = evince.View() document = evince.factory_get_document(test_file) |