From b8d93e28efadbd33af9564fa252dc89f4e628d1c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 14 Jul 2004 04:39:05 +0000 Subject: [PATCH] * src/data/gramps.schemas: Add to CVS. * src/data/Makefile.am: Install schemas. * configure.in: Insert AM_GCONF_SOURCE_2 macro. svn: r3273 --- ChangeLog | 4 + configure.in | 1 + src/data/Makefile.am | 11 +- src/data/gramps.schemas | 538 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 550 insertions(+), 4 deletions(-) create mode 100644 src/data/gramps.schemas diff --git a/ChangeLog b/ChangeLog index 84c06bf9b..0f437eb3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ * src/Exporter.py: Fix EXPAND/FILL state of the chooser widget. * src/DbPrompter.py (SaveAsDbPrompter): Remove class. * src/plugins/WriteGedcom.py: Fix image path problem. + + * src/data/gramps.schemas: Add to CVS. + * src/data/Makefile.am: Install schemas. + * configure.in: Insert AM_GCONF_SOURCE_2 macro. 2004-07-12 Don Allingham * src/plugins/WriteGedcom.py: use the correct id value diff --git a/configure.in b/configure.in index 222b50ae6..e88f1fbb7 100644 --- a/configure.in +++ b/configure.in @@ -14,6 +14,7 @@ then VERSIONSTRING="$VERSION-$RELEASE" fi +AM_GCONF_SOURCE_2 AC_SUBST(RELEASE) AC_SUBST(VERSIONSTRING) diff --git a/src/data/Makefile.am b/src/data/Makefile.am index 7df0e148a..5f6cf44c8 100644 --- a/src/data/Makefile.am +++ b/src/data/Makefile.am @@ -6,17 +6,21 @@ dist_pkgdata_DATA = gedcom.xml \ papersize.xml \ tips.xml \ gnome-mime-application-x-gramps.png \ - gnome-mime-application-x-gedcom.png \ + gnome-mime-application-x-gedcom.png \ gnome-mime-application-x-gramps-package.png \ gramps.applications \ gramps.desktop \ gramps.svg \ gramps.keys \ - gramps.mime + gramps.mime EXTRA_DIST = $(dist_pkgdata_DATA) -install-data-local: +install-schemas: + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + gconftool --makefile-install-rule gramps.schemas + +install-data-local: install-schemas $(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications $(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/applications $(INSTALL) -d $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/ @@ -35,4 +39,3 @@ uninstall-local: -rm $(DESTDIR)$(prefix)/share/mime-info/gramps.keys -rm $(DESTDIR)$(prefix)/share/mime-info/gramps.mime -rm $(DESTDIR)$(prefix)/share/mime/packages/gramps.xml - diff --git a/src/data/gramps.schemas b/src/data/gramps.schemas new file mode 100644 index 000000000..a5336fe50 --- /dev/null +++ b/src/data/gramps.schemas @@ -0,0 +1,538 @@ + + + + /schemas/apps/gramps/autoload + /apps/gramps/autoload + gramps + bool + 0 + + Load last database on startup + If set to 1, the last database will be loaded on the startup. + + + + + /schemas/apps/gramps/betawarn + /apps/gramps/betawarn + gramps + bool + 0 + + Display beta warning on startup + If set to 1, the warning about beta version will be loaded on the startup. + + + + + /schemas/apps/gramps/date-entry + /apps/gramps/date-entry + gramps + int + 0 + + Date entry format + This key determines the date entry format. O corresponds to + the MM/DD/YYYY (US format), 1 corrsponds to DD/MM/YYYY (European + format), and 2 corresponds to YYYY-MM-DD (ISO format). + + + + + /schemas/apps/gramps/date-format + /apps/gramps/date-format + gramps + int + 0 + + Date display format + This key determines the date display format. O corresponds to + the MM/DD/YYYY (US format), 1 corrsponds to DD/MM/YYYY (European + format), and 2 corresponds to YYYY-MM-DD (ISO format). + + + + + /schemas/apps/gramps/defaultview + /apps/gramps/defaultview + gramps + int + 0 + + Default view on a startup + This key determines which view will be presented when GRAMPS + starts. Use 0 for People View and 1 for Family View. + + + + + /schemas/apps/gramps/familyview + /apps/gramps/familyview + gramps + int + 0 + + Family View style + This key determines style of the Family View. + Use 0 for "Left-to-right" style and 1 for "Top-to-bottom" style. + + + + + /schemas/apps/gramps/filter + /apps/gramps/filter + gramps + bool + 0 + + Display Filter controls + If set to 1, the Filter controls will be displayed in People View. + + + + + /schemas/apps/gramps/fprefix + /apps/gramps/fprefix + gramps + string + F%04d + + Default family GRAMPS ID pattern + The new GRAMPS IDs for the family are generated according + to this format string. + + + + + /schemas/apps/gramps/iprefix + /apps/gramps/iprefix + gramps + string + I%04d + + Default person GRAMPS ID pattern + The new GRAMPS IDs for the person are generated according + to this format string. + + + + + /schemas/apps/gramps/oprefix + /apps/gramps/oprefix + gramps + string + F%04d + + Default media object GRAMPS ID pattern + The new GRAMPS IDs for the media object are generated + according to this format string. + + + + + /schemas/apps/gramps/pprefix + /apps/gramps/pprefix + gramps + string + F%04d + + Default place GRAMPS ID pattern + The new GRAMPS IDs for the place are generated according + to this format string. + + + + + /schemas/apps/gramps/sprefix + /apps/gramps/sprefix + gramps + string + F%04d + + Default source GRAMPS ID pattern + The new GRAMPS IDs for the source are generated according + to this format string. + + + + + /schemas/apps/gramps/goutput-preference + /apps/gramps/goutput-preference + gramps + string + No default format + + Preferred format for graphical reports + Preferred format for graphical reports. + + + + + /schemas/apps/gramps/output-preference + /apps/gramps/output-preference + gramps + string + No default format + + Preferred format for text reports + Preferred format for text reports. + + + + + /schemas/apps/gramps/paper-preference + /apps/gramps/paper-preference + gramps + string + Letter + + Preferred page size + Preferred page size. + + + + + /schemas/apps/gramps/id-edit + /apps/gramps/id-edit + gramps + bool + 0 + + Allow editing GRAMPS IDs + If set to 1, GRAMPS IDs are user-editable. + + + + + /schemas/apps/gramps/index-visible + /apps/gramps/index-visible + gramps + bool + 0 + + Show index numbers in children list + If set to 1, the index numbers will be shown in children list. + + + + + /schemas/apps/gramps/last-file + /apps/gramps/last-file + gramps + string + "" + + Last XML database GRAMPS has worked with + Full pathname of the last XML database GRAMPS has worked with. + + + + + /schemas/apps/gramps/recent-file + /apps/gramps/recent-file + gramps + string + "" + + Last GRDB database GRAMPS has worked with + Full pathname of the last GRDB database GRAMPS has worked with. + + + + + /schemas/apps/gramps/make-reference + /apps/gramps/make-reference + gramps + bool + 1 + + Make a reference to the dropped object + If set to 1, dropping the object into the gallery will + make a reference to the object. If set to 0, the copy of the + object will be made instead of a reference. + + + + + /schemas/apps/gramps/media-global + /apps/gramps/media-global + gramps + bool + 1 + + Display global properties editor when object + is dropped from external source + If set to 1, dropping the object from an external source + into the gallery will invoke the global properties editor. + + + + + /schemas/apps/gramps/media-local + /apps/gramps/media-local + gramps + bool + 1 + + Display local properties editor when object + is dropped from internal source + If set to 1, dropping the object from an internal source + into the gallery will invoke the local properties editor. + + + + + /schemas/apps/gramps/name-format + /apps/gramps/name-format + gramps + int + 0 + + Name display format + This key determines the name display format. Use 0 + for "Firstname Surname", 1 for "Surname, Firstname", + 2 for "Firstname SURNAME", and 3 for "SURNAME, Firstname" style. + + + + + /schemas/apps/gramps/report-directory + /apps/gramps/report-directory + gramps + string + "" + + Default report directory + Full pathname of the default report directory. + + + + + /schemas/apps/gramps/researcher-addr + /apps/gramps/researcher-addr + gramps + string + "" + + Researcher street address + Researcher stret address. + + + + + /schemas/apps/gramps/researcher-city + /apps/gramps/researcher-city + gramps + string + "" + + Researcher city + Researcher city. + + + + + /schemas/apps/gramps/researcher-country + /apps/gramps/researcher-country + gramps + string + "" + + Researcher country + Researcher country. + + + + + /schemas/apps/gramps/researcher-email + /apps/gramps/researcher-email + gramps + string + "" + + Researcher email address + Researcher email address. + + + + + /schemas/apps/gramps/researcher-name + /apps/gramps/researcher-name + gramps + string + "" + + Researcher name + Researcher name. + + + + + /schemas/apps/gramps/researcher-phone + /apps/gramps/researcher-phone + gramps + string + "" + + Researcher phone + Researcher phone. + + + + + /schemas/apps/gramps/researcher-postal + /apps/gramps/researcher-postal + gramps + string + "" + + Researcher postal code + Researcher postal code. + + + + + /schemas/apps/gramps/researcher-state + /apps/gramps/researcher-state + gramps + string + "" + + Researcher state + Researcher state. + + + + + /schemas/apps/gramps/show-calendar + /apps/gramps/show-calendar + gramps + bool + 0 + + Show alternate calndar options + If set to 1, the alternate calendar menus will be shown + in date editing dialogs. + + + + + /schemas/apps/gramps/startup + /apps/gramps/startup + gramps + int + 0 + + Startup druid has been run + If set to 1, this key indicates that the startup druid + has already been run. + + + + + /schemas/apps/gramps/statusbar + /apps/gramps/statusbar + gramps + int + 1 + + Information shown in statusbar + If set to 0 or 1, the statusbar will the name and GRAMPS ID + of an active person. If set to 2, the statusbar will show the + relationship of the active person tp the Default Person. + + + + + /schemas/apps/gramps/surname-guessing + /apps/gramps/surname-guessing + gramps + int + 0 + + Default surname guessing style + This key determines the style of the surname guessing when + the new person is added to the database. Use 0 for Father's surname, + 1 for no guessing, 2 for the combination of mother's and father's + surnames, and 3 foe the Icelandic style. + + + + + /schemas/apps/gramps/toolbar + /apps/gramps/toolbar + gramps + int + 5 + + Default toolbar style + This key determines the style of the toolbar. + Use 0 for icons only, 1 for text only, 2 for text below images, + 3 for text beside images, and 5 for the current GNOME style. + + + + + /schemas/apps/gramps/toolbar-on + /apps/gramps/toolbar-on + gramps + bool + 1 + + Show toolbar + If set to 1, the toolbar will be shown in the main + GRAMPS window. + + + + + /schemas/apps/gramps/use-lds + /apps/gramps/use-lds + gramps + bool + 0 + + Use LDS options + If set to 1, the LDS ordinance options will be shown. + + + + + /schemas/apps/gramps/use-tips + /apps/gramps/use-tips + gramps + bool + 0 + + Display Tip of the Day + If set to 1, Tip of the Day will be displayed on startup. + + + + + /schemas/apps/gramps/view + /apps/gramps/view + gramps + bool + 0 + + Save last view + If set to 1, the last displayed view will be presented + on the startup. + + + + + /schemas/apps/gramps/website-directory + /apps/gramps/website-directory + gramps + string + "" + + Default website directory + Full pathname of the default website directory. + + + + +