diff --git a/src/gui/grampsbar.py b/src/gui/grampsbar.py index af66195ab..5fc3b487a 100644 --- a/src/gui/grampsbar.py +++ b/src/gui/grampsbar.py @@ -91,7 +91,6 @@ class GrampsBar(gtk.Notebook): self.set_group_id(1) self.set_show_border(False) self.set_scrollable(True) - self.connect('switch-page', self.__switch_page) self.connect('page-added', self.__page_added) self.connect('page-removed', self.__page_removed) self.connect('create-window', self.__create_window) @@ -116,6 +115,9 @@ class GrampsBar(gtk.Notebook): self.show() self.set_current_page(config_settings[1]) + # Connect after gramplets added to prevent making them active + self.connect('switch-page', self.__switch_page) + def __load(self, defaults): """ Load the gramplets from the configuration file.