parent
e39e59c795
commit
dd80e4b80e
@ -1137,7 +1137,7 @@ class GrampsPreferences(ConfigureDialog):
|
||||
self.dbstate.db.name_formats = _nd.get_name_format(only_custom=True,
|
||||
only_active=False)
|
||||
|
||||
def cb_grampletbar_close(self, obj, state):
|
||||
def cb_grampletbar_close(self, obj):
|
||||
"""
|
||||
Gramplet bar close button preference callback
|
||||
"""
|
||||
|
@ -403,7 +403,8 @@ class GrampletBar(Gtk.Notebook):
|
||||
"""
|
||||
for gramplet in self.get_children():
|
||||
tablabel = self.get_tab_label(gramplet)
|
||||
tablabel.use_close(config.get('interface.grampletbar-close'))
|
||||
if not isinstance(tablabel, Gtk.Label):
|
||||
tablabel.use_close(config.get('interface.grampletbar-close'))
|
||||
|
||||
def __delete_clicked(self, button, gramplet):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user