* src/RelLib.py, etc.: convert get_id to get_handle

svn: r3290
This commit is contained in:
Don Allingham
2004-07-28 02:29:07 +00:00
parent 01c169c0f4
commit 95e62181d3
100 changed files with 3559 additions and 3466 deletions

View File

@@ -220,11 +220,8 @@ def get_betawarn():
def save_betawarn(val):
set_bool("/apps/gramps/behavior/betawarn",val)
def get_id_edit():
return get_bool("/apps/gramps/behavior/id-edit")
def save_id_edit(val):
set_bool("/apps/gramps/behavior/id-edit",val)
def get_index_visible():
return client.get_bool("/apps/gramps/index-visible")
def get_media_reference():
return get_bool("/apps/gramps/behavior/make-reference")
@@ -708,6 +705,7 @@ class GrampsPreferences:
def build(self):
auto = self.top.get_widget("autoload")
index_vis = self.top.get_widget("show_child_id")
auto.set_active(get_autoload())
auto.connect('toggled',lambda obj: save_autoload(obj.get_active()))
@@ -733,6 +731,7 @@ class GrampsPreferences:
cal = self.top.get_widget("calendar")
cal.set_active(get_calendar())
cal.connect('toggled',lambda obj: save_calendar(obj.get_active()))
idedit = self.top.get_widget("gid_edit")