* src/GrampsCfg.py: Remove unneeded id_edit widget.
* src/gramps.glade: Manually switch toolbar items from to ToolButtons to buttons to work around libglade bug. Remove unused id_edit widget and the label. * src/mergedata.glade: Switch button order to comply with HIG. * src/plugins/merge.glade: Switch button order to comply with HIG. svn: r3294
This commit is contained in:
@@ -220,9 +220,6 @@ def get_betawarn():
|
||||
def save_betawarn(val):
|
||||
set_bool("/apps/gramps/behavior/betawarn",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")
|
||||
|
||||
@@ -705,7 +702,6 @@ 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()))
|
||||
|
||||
@@ -734,10 +730,6 @@ class GrampsPreferences:
|
||||
|
||||
cal.connect('toggled',lambda obj: save_calendar(obj.get_active()))
|
||||
|
||||
idedit = self.top.get_widget("gid_edit")
|
||||
idedit.set_active(get_id_edit())
|
||||
idedit.connect('toggled',lambda obj: save_id_edit(obj.get_active()))
|
||||
|
||||
index_vis = self.top.get_widget("show_child_id")
|
||||
index_vis.set_active(get_index_visible())
|
||||
index_vis.connect('toggled',lambda obj: save_index_visible(obj.get_active()))
|
||||
|
||||
Reference in New Issue
Block a user