diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2d0be4f73..24bfac027 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-10-29 Don Allingham + * src/GrampsCfg.py: make look more like gedit * src/Lru.py: Added least-recently-used module from the PyPE program * src/DisplayModels/_PeopleModel.py: use LRU module to speed up diff --git a/gramps2/src/GrampsCfg.py b/gramps2/src/GrampsCfg.py index 71082f268..4273e89b1 100644 --- a/gramps2/src/GrampsCfg.py +++ b/gramps2/src/GrampsCfg.py @@ -98,34 +98,32 @@ class GrampsPreferences(ManagedWindow.ManagedWindow): self.dbstate = dbstate - tlabel = gtk.Label() self.set_window( gtk.Dialog(_('Preferences'), flags=gtk.DIALOG_NO_SEPARATOR, buttons=(gtk.STOCK_CLOSE,gtk.RESPONSE_CLOSE)), - tlabel, _('Preferences'), None) - + None, _('Preferences'), None) + panel = gtk.Notebook() self.original = Config.get(Config.TRANSACTIONS) - self.window.vbox.pack_start(tlabel, padding=12) self.window.vbox.add(panel) self.window.connect('response',self.done) panel.append_page(self.add_behavior_panel(), - MarkupLabel("%s" % _('General'))) + MarkupLabel(_('General'))) panel.append_page(self.add_formats_panel(), - MarkupLabel("%s" % _('Display'))) + MarkupLabel(_('Display'))) panel.append_page(self.add_name_panel(), - MarkupLabel("%s" % _('Name Display'))) + MarkupLabel(_('Name Display'))) panel.append_page(self.add_prefix_panel(), - MarkupLabel("%s" % _('ID Formats'))) + MarkupLabel(_('ID Formats'))) panel.append_page(self.add_advanced_panel(), - MarkupLabel("%s" % _('Warnings'))) + MarkupLabel(_('Warnings'))) panel.append_page(self.add_researcher_panel(), - MarkupLabel("%s" % _('Researcher'))) + MarkupLabel(_('Researcher'))) panel.append_page(self.add_color_panel(), - MarkupLabel("%s" % _('Marker Colors'))) + MarkupLabel(_('Marker Colors'))) self.window.show_all() self.show()