From 5aeab071e373d17102925a8a87c10c2e1fec61ef Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Tue, 06 Mar 2012 14:51:08 +0000 Subject: Import only the needed backend The activity only open one tipe of file at time, but was importing all the backends. Now import the needed backend after having the mimetype, to have better startup times and lower memory use. Signed-off-by: Gonzalo Odiard --- (limited to 'epubview') diff --git a/epubview/__init__.py b/epubview/__init__.py index adff032..20d9fc6 100644 --- a/epubview/__init__.py +++ b/epubview/__init__.py @@ -15,10 +15,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -from gi.repository import GObject - -GObject.threads_init() - from epub import _Epub as Epub from epubview import _View as EpubView from jobs import _JobFind as JobFind -- cgit v0.9.1