Fix tab labels for gramplet configuration

svn: r16560
This commit is contained in:
Nick Hall 2011-02-03 19:36:47 +00:00
parent 6d0135760f
commit cfa0851118

View File

@ -442,7 +442,7 @@ class GrampsBar(gtk.Notebook):
for gramplet in gramplets + self.detached_gramplets: for gramplet in gramplets + self.detached_gramplets:
gui_options = gramplet.make_gui_options() gui_options = gramplet.make_gui_options()
if gui_options: if gui_options:
funcs.append(self.__build_panel(gramplet, gui_options)) funcs.append(self.__build_panel(gramplet.title, gui_options))
return funcs return funcs
def __build_panel(self, title, gui_options): def __build_panel(self, title, gui_options):