* src/GrampsCfg.py: update for selectable colors, default colors

* data/gramps.schemas.in: update for selectable colors, default colors


svn: r6631
This commit is contained in:
Don Allingham 2006-05-12 18:49:12 +00:00
parent 9e68a4b550
commit 8fc4565d1b
3 changed files with 7 additions and 6 deletions

View File

@ -8,9 +8,9 @@
2006-05-12 Don Allingham <don@gramps-project.org> 2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix MonitoredDataType initialization * src/GrampsWidgets.py: fix MonitoredDataType initialization
* plugins/BookReport.py: append "file://" properly * plugins/BookReport.py: append "file://" properly
* src/GrampsCfg.py: update for selectable colors * src/GrampsCfg.py: update for selectable colors, default colors
* src/PeopleModel.py: update for selectable colors * src/PeopleModel.py: update for selectable colors
* data/gramps.schemas.in: update for selectable colors * data/gramps.schemas.in: update for selectable colors, default colors
2006-05-12 Alex Roitman <shura@gramps-project.org> 2006-05-12 Alex Roitman <shura@gramps-project.org>
* src/Filters/Makefile.am (pkgdata_PYTHON): Add new files. * src/Filters/Makefile.am (pkgdata_PYTHON): Add new files.

View File

@ -20,7 +20,7 @@
<applyto>/apps/gramps/preferences/complete-color</applyto> <applyto>/apps/gramps/preferences/complete-color</applyto>
<owner>gramps</owner> <owner>gramps</owner>
<type>string</type> <type>string</type>
<default>#FF0000</default> <default>#fcaf3e</default>
<locale name="C"> <locale name="C">
<short>Color used to highlight compete items in a list</short> <short>Color used to highlight compete items in a list</short>
<long>Color used to highlight compete items in a list</long> <long>Color used to highlight compete items in a list</long>
@ -32,7 +32,7 @@
<applyto>/apps/gramps/preferences/todo-color</applyto> <applyto>/apps/gramps/preferences/todo-color</applyto>
<owner>gramps</owner> <owner>gramps</owner>
<type>string</type> <type>string</type>
<default>#00FF00</default> <default>#8ae234</default>
<locale name="C"> <locale name="C">
<short>Color used to highlight TODO items in a list</short> <short>Color used to highlight TODO items in a list</short>
<long>Color used to highlight TODO items in a list</long> <long>Color used to highlight TODO items in a list</long>
@ -44,7 +44,7 @@
<applyto>/apps/gramps/preferences/custom-marker-color</applyto> <applyto>/apps/gramps/preferences/custom-marker-color</applyto>
<owner>gramps</owner> <owner>gramps</owner>
<type>string</type> <type>string</type>
<default>#0000FF</default> <default>#729fcf</default>
<locale name="C"> <locale name="C">
<short>Color used to highlight custom marker items in a list</short> <short>Color used to highlight custom marker items in a list</short>
<long>Color used to highlight custom marker items in a list</long> <long>Color used to highlight custom marker items in a list</long>

View File

@ -60,6 +60,7 @@ _surname_styles = [
_("Icelandic style"), _("Icelandic style"),
] ]
_pallette = "#fce94f:#edd400:#c4a000:#facf3e:#f57900:#ce5c00:#e9b96e:#c17d11:#8f5902:#8ae234:#73d216:#4e9a06:#729fcf:#3465a4:#204a87:#ad7fa8:#7ff07b:#5c3566:#ef2929:#cc0000:#a40000"
def set_calendar_date_format(): def set_calendar_date_format():
format_list = DateHandler.get_date_formats() format_list = DateHandler.get_date_formats()