From 48d3cfdf0ae6f8c1538372675f8c1ba22bcc9453 Mon Sep 17 00:00:00 2001
From: Alex Roitman <shura@gramps-project.org>
Date: Tue, 20 Feb 2007 20:35:27 +0000
Subject: [PATCH] 	* src/Config/_GrampsConfigKeys.py (RELEDITBTN):
 Regenerate the 	file to add missing items. 	*
 data/gramps.schemas.in: Add missing key.

svn: r8194
---
 ChangeLog                       |  3 +++
 data/gramps.schemas.in          | 12 ++++++++++++
 src/Config/_GrampsConfigKeys.py |  2 ++
 3 files changed, 17 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e4307e8a3..02ed40885 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 2007-02-20  Alex Roitman  <shura@gramps-project.org>
+	* src/Config/_GrampsConfigKeys.py (RELEDITBTN): Regenerate the
+	file to add missing items.
+	* data/gramps.schemas.in: Add missing key.
 	* src/images/Makefile.am: new icons.
 	* src/images/*: new icons.
 	* configure.in: Generate new Makefiles.
diff --git a/data/gramps.schemas.in b/data/gramps.schemas.in
index d64255e78..fdc8431e3 100644
--- a/data/gramps.schemas.in
+++ b/data/gramps.schemas.in
@@ -237,6 +237,18 @@
         </locale>
       </schema>
 
+      <schema>
+        <key>/schemas/apps/gramps/interface/releditbtn</key>
+        <applyto>/apps/gramps/interface/releditbtn</applyto>
+        <owner>gramps</owner>
+        <type>bool</type>
+        <default>0</default>
+        <locale name="C">
+          <short>Display edit buttons in Relationship View</short>
+          <long>This key enables display of edit buttons in Relationship View</long>
+        </locale>
+      </schema>
+
       <schema>
         <key>/schemas/apps/gramps/interface/height</key>
         <applyto>/apps/gramps/interface/height</applyto>
diff --git a/src/Config/_GrampsConfigKeys.py b/src/Config/_GrampsConfigKeys.py
index e329668e0..78fb61dbd 100644
--- a/src/Config/_GrampsConfigKeys.py
+++ b/src/Config/_GrampsConfigKeys.py
@@ -44,6 +44,7 @@ BETAWARN             = ('behavior','betawarn', 0)
 WELCOME              = ('behavior','welcome', 1)
 DATE_FORMAT          = ('preferences','date-format', 1)
 DONT_ASK             = ('interface','dont-ask', 0)
+RELEDITBTN           = ('interface','releditbtn', 0)
 HEIGHT               = ('interface','height', 1)
 WIDTH                = ('interface','width', 1)
 FAMILY_HEIGHT        = ('interface','family-height', 1)
@@ -142,6 +143,7 @@ default_value = {
     WELCOME              : 100,
     DATE_FORMAT          : 0,
     DONT_ASK             : False,
+    RELEDITBTN           : False,
     HEIGHT               : 500,
     WIDTH                : 775,
     FAMILY_HEIGHT        : 500,