From 4ef21b33f839bf91fa03c44a05eb8ea7d4d6462f Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 12 May 2006 18:49:12 +0000 Subject: [PATCH] * src/GrampsCfg.py: update for selectable colors, default colors * data/gramps.schemas.in: update for selectable colors, default colors svn: r6631 --- gramps2/ChangeLog | 4 ++-- gramps2/data/gramps.schemas.in | 6 +++--- gramps2/src/GrampsCfg.py | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2822b1999..c56caca56 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -8,9 +8,9 @@ 2006-05-12 Don Allingham * 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 * src/Filters/Makefile.am (pkgdata_PYTHON): Add new files. diff --git a/gramps2/data/gramps.schemas.in b/gramps2/data/gramps.schemas.in index 1b8931bf6..fad6934ea 100644 --- a/gramps2/data/gramps.schemas.in +++ b/gramps2/data/gramps.schemas.in @@ -20,7 +20,7 @@ /apps/gramps/preferences/complete-color gramps string - #FF0000 + #fcaf3e Color used to highlight compete items in a list Color used to highlight compete items in a list @@ -32,7 +32,7 @@ /apps/gramps/preferences/todo-color gramps string - #00FF00 + #8ae234 Color used to highlight TODO items in a list Color used to highlight TODO items in a list @@ -44,7 +44,7 @@ /apps/gramps/preferences/custom-marker-color gramps string - #0000FF + #729fcf Color used to highlight custom marker items in a list Color used to highlight custom marker items in a list diff --git a/gramps2/src/GrampsCfg.py b/gramps2/src/GrampsCfg.py index ddb8c26c8..c832fbca1 100644 --- a/gramps2/src/GrampsCfg.py +++ b/gramps2/src/GrampsCfg.py @@ -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()