* src/GrampsCfg.py: make look more like gedit

svn: r7505
This commit is contained in:
Don Allingham 2006-10-30 03:27:55 +00:00
parent 3c5983b25f
commit d831a4216a
2 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,5 @@
2006-10-29 Don Allingham <don@gramps-project.org>
* 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

View File

@ -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("<b>%s</b>" % _('General')))
MarkupLabel(_('General')))
panel.append_page(self.add_formats_panel(),
MarkupLabel("<b>%s</b>" % _('Display')))
MarkupLabel(_('Display')))
panel.append_page(self.add_name_panel(),
MarkupLabel("<b>%s</b>" % _('Name Display')))
MarkupLabel(_('Name Display')))
panel.append_page(self.add_prefix_panel(),
MarkupLabel("<b>%s</b>" % _('ID Formats')))
MarkupLabel(_('ID Formats')))
panel.append_page(self.add_advanced_panel(),
MarkupLabel("<b>%s</b>" % _('Warnings')))
MarkupLabel(_('Warnings')))
panel.append_page(self.add_researcher_panel(),
MarkupLabel("<b>%s</b>" % _('Researcher')))
MarkupLabel(_('Researcher')))
panel.append_page(self.add_color_panel(),
MarkupLabel("<b>%s</b>" % _('Marker Colors')))
MarkupLabel(_('Marker Colors')))
self.window.show_all()
self.show()