From 77cc1020f4c7527b0066538028a12567e168fd07 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Mon, 28 Jul 2014 16:21:25 +0000 Subject: Handle a URI when the activity starts Needed by the tests. --- diff --git a/readactivity.py b/readactivity.py index 479c2bc..0f16fae 100644 --- a/readactivity.py +++ b/readactivity.py @@ -369,6 +369,8 @@ class ReadActivity(activity.Activity): if self._jobject.file_path is not None and \ self._jobject.file_path != '': self.read_file(self._jobject.file_path) + elif handle.uri: + self._load_document(handle.uri) else: # Not joining, not resuming or resuming session without file emptypanel.show(self, 'activity-read', -- cgit v0.9.1