diff --git a/gramps2/src/Makefile.in b/gramps2/src/Makefile.in
index fece68251..317ec03d3 100644
--- a/gramps2/src/Makefile.in
+++ b/gramps2/src/Makefile.in
@@ -73,6 +73,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/ansel_utf8.py b/gramps2/src/ansel_utf8.py
index 9b6b9b717..1de8a10d1 100644
--- a/gramps2/src/ansel_utf8.py
+++ b/gramps2/src/ansel_utf8.py
@@ -278,7 +278,6 @@ _utoa = {
def ansel_to_utf8(s):
"""Converts an ANSEL encoded string to UTF8"""
- print s
buff = cStringIO.StringIO()
while s:
c0 = ord(s[0])
@@ -288,23 +287,18 @@ def ansel_to_utf8(s):
elif c0 > 127:
l2 = s[0:2]
l1 = s[0]
- print "----------------------"
if _twobyte.has_key(l2):
head = _twobyte[l2]
s = s[2:]
- print "two"
elif _onebyte.has_key(l1):
head = _onebyte[l1]
s = s[1:]
- print "**8 one",l1,ord(l1),"*",_onebyte[l1],
else:
head = u'\xff\xfd'
s = s[1:]
- print "barf"
else:
head = s[0]
s = s[1:]
- print head,c0
buff.write(head)
ans = buff.getvalue()
buff.close()
diff --git a/gramps2/src/calendars/Makefile.in b/gramps2/src/calendars/Makefile.in
index 05b227c31..54ffc5af9 100644
--- a/gramps2/src/calendars/Makefile.in
+++ b/gramps2/src/calendars/Makefile.in
@@ -78,6 +78,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/const.py b/gramps2/src/const.py
index fcb9929e1..59d5a6c88 100644
--- a/gramps2/src/const.py
+++ b/gramps2/src/const.py
@@ -44,6 +44,9 @@ convert = "convert"
pixdir = "/usr/share/pixmaps"
nautdir = "/usr/share/pixmaps/nautilus"
+prefixdir = "/usr/local"
+
+
#-------------------------------------------------------------------------
#
# Paths to files - assumes that files reside in the same directory as
diff --git a/gramps2/src/const.py.in b/gramps2/src/const.py.in
index fe35bd6a2..89bc56ad6 100644
--- a/gramps2/src/const.py.in
+++ b/gramps2/src/const.py.in
@@ -44,6 +44,8 @@ convert = "convert"
pixdir = "/usr/share/pixmaps"
nautdir = "/usr/share/pixmaps/nautilus"
+prefixdir = "@GPREFIX@"
+
#-------------------------------------------------------------------------
#
# Paths to files - assumes that files reside in the same directory as
diff --git a/gramps2/src/data/Makefile.in b/gramps2/src/data/Makefile.in
index ea0ac70fc..be82afc61 100644
--- a/gramps2/src/data/Makefile.in
+++ b/gramps2/src/data/Makefile.in
@@ -73,6 +73,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/data/templates/Makefile.in b/gramps2/src/data/templates/Makefile.in
index 0b89716b8..f447fdfb5 100644
--- a/gramps2/src/data/templates/Makefile.in
+++ b/gramps2/src/data/templates/Makefile.in
@@ -74,6 +74,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/docgen/Makefile.in b/gramps2/src/docgen/Makefile.in
index de365f608..29f73f4ac 100644
--- a/gramps2/src/docgen/Makefile.in
+++ b/gramps2/src/docgen/Makefile.in
@@ -77,6 +77,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/filters/Makefile.in b/gramps2/src/filters/Makefile.in
index 87645b93b..753b0b9f2 100644
--- a/gramps2/src/filters/Makefile.in
+++ b/gramps2/src/filters/Makefile.in
@@ -73,6 +73,7 @@ GNOMEHELP = @GNOMEHELP@
GNOMEINC = @GNOMEINC@
GNOMELIB = @GNOMELIB@
GPREF = @GPREF@
+GPREFIX = @GPREFIX@
HAVE_JW = @HAVE_JW@
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
diff --git a/gramps2/src/gramps.glade b/gramps2/src/gramps.glade
index 874a9a8eb..55ffc0bab 100644
--- a/gramps2/src/gramps.glade
+++ b/gramps2/src/gramps.glade
@@ -76,7 +76,7 @@
-
+
True
gtk-revert-to-saved
1
@@ -112,7 +112,7 @@
True
-
+
True
gtk-convert
1
@@ -128,12 +128,12 @@