Moved gtk imports out of global scope for cli use
svn: r13824
This commit is contained in:
@@ -31,8 +31,6 @@ import gen.lib
|
|||||||
import Errors
|
import Errors
|
||||||
import config
|
import config
|
||||||
import DateHandler
|
import DateHandler
|
||||||
from gui.editors import (EditPerson, EditEvent, EditFamily, EditSource,
|
|
||||||
EditPlace, EditRepository)
|
|
||||||
|
|
||||||
class SimpleTable(object):
|
class SimpleTable(object):
|
||||||
"""
|
"""
|
||||||
@@ -86,6 +84,8 @@ class SimpleTable(object):
|
|||||||
"""
|
"""
|
||||||
Handle events on tables. obj is a treeview
|
Handle events on tables. obj is a treeview
|
||||||
"""
|
"""
|
||||||
|
from gui.editors import (EditPerson, EditEvent, EditFamily, EditSource,
|
||||||
|
EditPlace, EditRepository)
|
||||||
selection = obj.get_selection()
|
selection = obj.get_selection()
|
||||||
store, node = selection.get_selected()
|
store, node = selection.get_selected()
|
||||||
if not node:
|
if not node:
|
||||||
|
Reference in New Issue
Block a user