* src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user