From 8f2f2f200ffb32005e72b39b38c5c98214704d56 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 16 Dec 2009 12:43:21 +0000 Subject: [PATCH] Moved gtk imports out of global scope for cli use svn: r13824 --- src/Simple/_SimpleTable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simple/_SimpleTable.py b/src/Simple/_SimpleTable.py index 65850cbf2..f129e75fe 100644 --- a/src/Simple/_SimpleTable.py +++ b/src/Simple/_SimpleTable.py @@ -31,8 +31,6 @@ import gen.lib import Errors import config import DateHandler -from gui.editors import (EditPerson, EditEvent, EditFamily, EditSource, - EditPlace, EditRepository) class SimpleTable(object): """ @@ -86,6 +84,8 @@ class SimpleTable(object): """ Handle events on tables. obj is a treeview """ + from gui.editors import (EditPerson, EditEvent, EditFamily, EditSource, + EditPlace, EditRepository) selection = obj.get_selection() store, node = selection.get_selected() if not node: