* src/GrampsCfg.py: make look more like gedit
svn: r7505
This commit is contained in:
parent
8cfaea668a
commit
4a754125f1
@ -1,4 +1,5 @@
|
|||||||
2006-10-29 Don Allingham <don@gramps-project.org>
|
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
|
* src/Lru.py: Added least-recently-used module from
|
||||||
the PyPE program
|
the PyPE program
|
||||||
* src/DisplayModels/_PeopleModel.py: use LRU module to speed up
|
* src/DisplayModels/_PeopleModel.py: use LRU module to speed up
|
||||||
|
@ -98,34 +98,32 @@ class GrampsPreferences(ManagedWindow.ManagedWindow):
|
|||||||
|
|
||||||
self.dbstate = dbstate
|
self.dbstate = dbstate
|
||||||
|
|
||||||
tlabel = gtk.Label()
|
|
||||||
self.set_window(
|
self.set_window(
|
||||||
gtk.Dialog(_('Preferences'),
|
gtk.Dialog(_('Preferences'),
|
||||||
flags=gtk.DIALOG_NO_SEPARATOR,
|
flags=gtk.DIALOG_NO_SEPARATOR,
|
||||||
buttons=(gtk.STOCK_CLOSE,gtk.RESPONSE_CLOSE)),
|
buttons=(gtk.STOCK_CLOSE,gtk.RESPONSE_CLOSE)),
|
||||||
tlabel, _('Preferences'), None)
|
None, _('Preferences'), None)
|
||||||
|
|
||||||
panel = gtk.Notebook()
|
panel = gtk.Notebook()
|
||||||
|
|
||||||
self.original = Config.get(Config.TRANSACTIONS)
|
self.original = Config.get(Config.TRANSACTIONS)
|
||||||
|
|
||||||
self.window.vbox.pack_start(tlabel, padding=12)
|
|
||||||
self.window.vbox.add(panel)
|
self.window.vbox.add(panel)
|
||||||
self.window.connect('response',self.done)
|
self.window.connect('response',self.done)
|
||||||
panel.append_page(self.add_behavior_panel(),
|
panel.append_page(self.add_behavior_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('General')))
|
MarkupLabel(_('General')))
|
||||||
panel.append_page(self.add_formats_panel(),
|
panel.append_page(self.add_formats_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('Display')))
|
MarkupLabel(_('Display')))
|
||||||
panel.append_page(self.add_name_panel(),
|
panel.append_page(self.add_name_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('Name Display')))
|
MarkupLabel(_('Name Display')))
|
||||||
panel.append_page(self.add_prefix_panel(),
|
panel.append_page(self.add_prefix_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('ID Formats')))
|
MarkupLabel(_('ID Formats')))
|
||||||
panel.append_page(self.add_advanced_panel(),
|
panel.append_page(self.add_advanced_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('Warnings')))
|
MarkupLabel(_('Warnings')))
|
||||||
panel.append_page(self.add_researcher_panel(),
|
panel.append_page(self.add_researcher_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('Researcher')))
|
MarkupLabel(_('Researcher')))
|
||||||
panel.append_page(self.add_color_panel(),
|
panel.append_page(self.add_color_panel(),
|
||||||
MarkupLabel("<b>%s</b>" % _('Marker Colors')))
|
MarkupLabel(_('Marker Colors')))
|
||||||
|
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
self.show()
|
self.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user