Moved gtk imports out of global scope for cli use
svn: r13824
This commit is contained in:
parent
2a047ab65e
commit
8f2f2f200f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user