* 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 cf1a9d194a
commit 4ef21b33f8
3 changed files with 7 additions and 6 deletions

View File

@ -8,9 +8,9 @@
2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix MonitoredDataType initialization
* 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
* 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>
* src/Filters/Makefile.am (pkgdata_PYTHON): Add new files.

View File

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

View File

@ -59,7 +59,8 @@ _surname_styles = [
_("Combination of mother's and father's surname"),
_("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():
format_list = DateHandler.get_date_formats()