* src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception

* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
This commit is contained in:
Alex Roitman
2005-03-17 20:33:36 +00:00
parent 42353719e3
commit dac485ee26
4 changed files with 19 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns
True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception
* src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
and check for installed MIME-type. Show error because installation is
incomplete.
@@ -14,6 +14,11 @@
* src/data/Makefile.am: Use defined GCONF_SCHEMA_FILE_DIR and
SHARED_MIME_DIR, not the hardcoded paths.
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.
2005-03-17 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/Exporter.py (build_info_page): proofreading; (build_format_page):
shrink the size of the window by using tooltips to display the