* GrampsMime.py: added mime types
* grampslib_wrap.c: removed * various: more undo functionality svn: r3074
This commit is contained in:
		@@ -81,8 +81,6 @@ class AncestorReport(Report.Report):
 | 
			
		||||
 | 
			
		||||
        self.filter(self.start.get_id(),1)
 | 
			
		||||
 | 
			
		||||
        print self.map
 | 
			
		||||
        
 | 
			
		||||
        name = self.start.get_primary_name().get_regular_name()
 | 
			
		||||
        self.doc.start_paragraph("AHN-Title")
 | 
			
		||||
        title = _("Ahnentafel Report for %s") % name
 | 
			
		||||
@@ -131,7 +129,7 @@ class AncestorReport(Report.Report):
 | 
			
		||||
                    place = place[:-1]
 | 
			
		||||
                if date.get_date() != "" or place_id:
 | 
			
		||||
                    if date.get_date() != "":
 | 
			
		||||
                        if date.getDayValid() and date.getMonthValid():
 | 
			
		||||
                        if date.get_day_valid() and date.get_month_valid():
 | 
			
		||||
                            if place != "":
 | 
			
		||||
                                t = _("%s was born on %s in %s. ") % \
 | 
			
		||||
                                    (name,date.get_date(),place)
 | 
			
		||||
@@ -171,7 +169,7 @@ class AncestorReport(Report.Report):
 | 
			
		||||
                        male = 0
 | 
			
		||||
 | 
			
		||||
                    if date.get_date() != "":
 | 
			
		||||
                        if date.getDayValid() and date.getMonthValid():
 | 
			
		||||
                        if date.get_day_valid() and date.get_month_valid():
 | 
			
		||||
                            if male:
 | 
			
		||||
                                if place != "":
 | 
			
		||||
                                    t = _("He died on %s in %s") % \
 | 
			
		||||
@@ -211,7 +209,7 @@ class AncestorReport(Report.Report):
 | 
			
		||||
                            place = place[:-1]
 | 
			
		||||
                        if date.get_date() != "" or place_id:
 | 
			
		||||
                            if date.get_date() != "":
 | 
			
		||||
                                if date.getDayValid() and date.getMonthValid():
 | 
			
		||||
                                if date.get_day_valid() and date.get_month_valid():
 | 
			
		||||
                                    if place != "":
 | 
			
		||||
                                        t = _(", and was buried on %s in %s.") % \
 | 
			
		||||
                                            (date.get_date(),place)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.6.3 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.7.8 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
 | 
			
		||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 | 
			
		||||
# Free Software Foundation, Inc.
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@@ -13,45 +13,21 @@
 | 
			
		||||
# PARTICULAR PURPOSE.
 | 
			
		||||
 | 
			
		||||
@SET_MAKE@
 | 
			
		||||
SHELL = @SHELL@
 | 
			
		||||
 | 
			
		||||
srcdir = @srcdir@
 | 
			
		||||
top_srcdir = @top_srcdir@
 | 
			
		||||
VPATH = @srcdir@
 | 
			
		||||
prefix = @prefix@
 | 
			
		||||
exec_prefix = @exec_prefix@
 | 
			
		||||
 | 
			
		||||
bindir = @bindir@
 | 
			
		||||
sbindir = @sbindir@
 | 
			
		||||
libexecdir = @libexecdir@
 | 
			
		||||
datadir = @datadir@
 | 
			
		||||
sysconfdir = @sysconfdir@
 | 
			
		||||
sharedstatedir = @sharedstatedir@
 | 
			
		||||
localstatedir = @localstatedir@
 | 
			
		||||
libdir = @libdir@
 | 
			
		||||
infodir = @infodir@
 | 
			
		||||
mandir = @mandir@
 | 
			
		||||
includedir = @includedir@
 | 
			
		||||
oldincludedir = /usr/include
 | 
			
		||||
pkglibdir = $(libdir)/@PACKAGE@
 | 
			
		||||
pkgincludedir = $(includedir)/@PACKAGE@
 | 
			
		||||
top_builddir = ../..
 | 
			
		||||
 | 
			
		||||
ACLOCAL = @ACLOCAL@
 | 
			
		||||
AUTOCONF = @AUTOCONF@
 | 
			
		||||
AUTOMAKE = @AUTOMAKE@
 | 
			
		||||
AUTOHEADER = @AUTOHEADER@
 | 
			
		||||
 | 
			
		||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 | 
			
		||||
INSTALL = @INSTALL@
 | 
			
		||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 | 
			
		||||
INSTALL_DATA = @INSTALL_DATA@
 | 
			
		||||
install_sh_DATA = $(install_sh) -c -m 644
 | 
			
		||||
install_sh_PROGRAM = $(install_sh) -c
 | 
			
		||||
install_sh_SCRIPT = $(install_sh) -c
 | 
			
		||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 | 
			
		||||
INSTALL_HEADER = $(INSTALL_DATA)
 | 
			
		||||
transform = @program_transform_name@
 | 
			
		||||
transform = $(program_transform_name)
 | 
			
		||||
NORMAL_INSTALL = :
 | 
			
		||||
PRE_INSTALL = :
 | 
			
		||||
POST_INSTALL = :
 | 
			
		||||
@@ -59,50 +35,81 @@ NORMAL_UNINSTALL = :
 | 
			
		||||
PRE_UNINSTALL = :
 | 
			
		||||
POST_UNINSTALL = :
 | 
			
		||||
 | 
			
		||||
EXEEXT = @EXEEXT@
 | 
			
		||||
OBJEXT = @OBJEXT@
 | 
			
		||||
PATH_SEPARATOR = @PATH_SEPARATOR@
 | 
			
		||||
 | 
			
		||||
pkgdatadir = $(datadir)/@PACKAGE@/plugins
 | 
			
		||||
ACLOCAL = @ACLOCAL@
 | 
			
		||||
AMTAR = @AMTAR@
 | 
			
		||||
AUTOCONF = @AUTOCONF@
 | 
			
		||||
AUTOHEADER = @AUTOHEADER@
 | 
			
		||||
AUTOMAKE = @AUTOMAKE@
 | 
			
		||||
AWK = @AWK@
 | 
			
		||||
BINSH = @BINSH@
 | 
			
		||||
CC = @CC@
 | 
			
		||||
DEPDIR = @DEPDIR@
 | 
			
		||||
CYGPATH_W = @CYGPATH_W@
 | 
			
		||||
DEFS = @DEFS@
 | 
			
		||||
ECHO_C = @ECHO_C@
 | 
			
		||||
ECHO_N = @ECHO_N@
 | 
			
		||||
ECHO_T = @ECHO_T@
 | 
			
		||||
GNOMEHELP = @GNOMEHELP@
 | 
			
		||||
GNOMEINC = @GNOMEINC@
 | 
			
		||||
GNOMELIB = @GNOMELIB@
 | 
			
		||||
GPREFIX = @GPREFIX@
 | 
			
		||||
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
 | 
			
		||||
ICONV = @ICONV@
 | 
			
		||||
INSTALL_DATA = @INSTALL_DATA@
 | 
			
		||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 | 
			
		||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 | 
			
		||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 | 
			
		||||
LANGUAGES = @LANGUAGES@
 | 
			
		||||
LIBOBJS = @LIBOBJS@
 | 
			
		||||
LIBS = @LIBS@
 | 
			
		||||
LTLIBOBJS = @LTLIBOBJS@
 | 
			
		||||
MAKEINFO = @MAKEINFO@
 | 
			
		||||
MOFILES = @MOFILES@
 | 
			
		||||
MSGCONV = @MSGCONV@
 | 
			
		||||
MSGFMT = @MSGFMT@
 | 
			
		||||
PACKAGE = @PACKAGE@
 | 
			
		||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 | 
			
		||||
PACKAGE_NAME = @PACKAGE_NAME@
 | 
			
		||||
PACKAGE_STRING = @PACKAGE_STRING@
 | 
			
		||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 | 
			
		||||
PACKAGE_VERSION = @PACKAGE_VERSION@
 | 
			
		||||
PATH_SEPARATOR = @PATH_SEPARATOR@
 | 
			
		||||
POFILES = @POFILES@
 | 
			
		||||
PYTHON = @PYTHON@
 | 
			
		||||
PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
 | 
			
		||||
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
 | 
			
		||||
PYTHON_PLATFORM = @PYTHON_PLATFORM@
 | 
			
		||||
PYTHON_PREFIX = @PYTHON_PREFIX@
 | 
			
		||||
PYTHON_VERSION = @PYTHON_VERSION@
 | 
			
		||||
RELEASE = @RELEASE@
 | 
			
		||||
SCROLLKEEPER_BUILD_REQUIRED = @SCROLLKEEPER_BUILD_REQUIRED@
 | 
			
		||||
SET_MAKE = @SET_MAKE@
 | 
			
		||||
SHELL = @SHELL@
 | 
			
		||||
SK_CONFIG = @SK_CONFIG@
 | 
			
		||||
STRIP = @STRIP@
 | 
			
		||||
VERSION = @VERSION@
 | 
			
		||||
VERSIONSTRING = @VERSIONSTRING@
 | 
			
		||||
ZIP = @ZIP@
 | 
			
		||||
am__include = @am__include@
 | 
			
		||||
am__quote = @am__quote@
 | 
			
		||||
ac_ct_STRIP = @ac_ct_STRIP@
 | 
			
		||||
am__leading_dot = @am__leading_dot@
 | 
			
		||||
bindir = @bindir@
 | 
			
		||||
build_alias = @build_alias@
 | 
			
		||||
datadir = @datadir@
 | 
			
		||||
exec_prefix = @exec_prefix@
 | 
			
		||||
host_alias = @host_alias@
 | 
			
		||||
includedir = @includedir@
 | 
			
		||||
infodir = @infodir@
 | 
			
		||||
install_sh = @install_sh@
 | 
			
		||||
libdir = @libdir@
 | 
			
		||||
libexecdir = @libexecdir@
 | 
			
		||||
localstatedir = @localstatedir@
 | 
			
		||||
mandir = @mandir@
 | 
			
		||||
oldincludedir = @oldincludedir@
 | 
			
		||||
 | 
			
		||||
pkgpyexecdir = @pkgpyexecdir@/plugins
 | 
			
		||||
pkgpythondir = @pkgpythondir@/plugins
 | 
			
		||||
prefix = @prefix@
 | 
			
		||||
program_transform_name = @program_transform_name@
 | 
			
		||||
pyexecdir = @pyexecdir@
 | 
			
		||||
pythondir = @pythondir@
 | 
			
		||||
sbindir = @sbindir@
 | 
			
		||||
sharedstatedir = @sharedstatedir@
 | 
			
		||||
sysconfdir = @sysconfdir@
 | 
			
		||||
target_alias = @target_alias@
 | 
			
		||||
 | 
			
		||||
# This is the src/plugins level Makefile for Gramps
 | 
			
		||||
# We could use GNU make's ':=' syntax for nice wildcard use,
 | 
			
		||||
@@ -183,14 +190,15 @@ dist_pkgdata_DATA = $(GLADEFILES)
 | 
			
		||||
 | 
			
		||||
GRAMPS_PY_MODPATH = "../:../docgen"
 | 
			
		||||
subdir = src/plugins
 | 
			
		||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 | 
			
		||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 | 
			
		||||
CONFIG_CLEAN_FILES =
 | 
			
		||||
DIST_SOURCES =
 | 
			
		||||
py_compile = $(top_srcdir)/py-compile
 | 
			
		||||
DATA = $(dist_pkgdata_DATA)
 | 
			
		||||
 | 
			
		||||
DIST_COMMON = $(dist_pkgdata_DATA) $(pkgpython_PYTHON) Makefile.am \
 | 
			
		||||
	Makefile.in
 | 
			
		||||
DIST_COMMON = $(dist_pkgdata_DATA) $(pkgpython_PYTHON) \
 | 
			
		||||
	$(srcdir)/Makefile.in Makefile.am
 | 
			
		||||
all: all-am
 | 
			
		||||
 | 
			
		||||
.SUFFIXES:
 | 
			
		||||
@@ -205,11 +213,12 @@ install-pkgpythonPYTHON: $(pkgpython_PYTHON)
 | 
			
		||||
	@$(NORMAL_INSTALL)
 | 
			
		||||
	$(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
 | 
			
		||||
	@list='$(pkgpython_PYTHON)'; dlist=''; for p in $$list; do\
 | 
			
		||||
	  if test -f $(srcdir)/$$p; then \
 | 
			
		||||
	  if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
 | 
			
		||||
	  if test -f $$b$$p; then \
 | 
			
		||||
	    d=`echo "$$p" | sed -e 's,^.*/,,'`; \
 | 
			
		||||
	    dlist="$$dlist $$d"; \
 | 
			
		||||
	    echo " $(pkgpythonPYTHON_INSTALL) $(srcdir)/$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
 | 
			
		||||
	    $(pkgpythonPYTHON_INSTALL) $(srcdir)/$$p $(DESTDIR)$(pkgpythondir)/$$d; \
 | 
			
		||||
	    echo " $(pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
 | 
			
		||||
	    $(pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d; \
 | 
			
		||||
	  else :; fi; \
 | 
			
		||||
	done; \
 | 
			
		||||
	PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(pkgpythondir) $$dlist
 | 
			
		||||
@@ -243,13 +252,22 @@ uninstall-dist_pkgdataDATA:
 | 
			
		||||
tags: TAGS
 | 
			
		||||
TAGS:
 | 
			
		||||
 | 
			
		||||
ctags: CTAGS
 | 
			
		||||
CTAGS:
 | 
			
		||||
 | 
			
		||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 | 
			
		||||
 | 
			
		||||
top_distdir = ../..
 | 
			
		||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
	@list='$(DISTFILES)'; for file in $$list; do \
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; for file in $$list; do \
 | 
			
		||||
	  case $$file in \
 | 
			
		||||
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 | 
			
		||||
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 | 
			
		||||
	  esac; \
 | 
			
		||||
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 | 
			
		||||
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 | 
			
		||||
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 | 
			
		||||
@@ -275,7 +293,6 @@ all-am: Makefile $(DATA)
 | 
			
		||||
 | 
			
		||||
installdirs:
 | 
			
		||||
	$(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgdatadir)
 | 
			
		||||
 | 
			
		||||
install: install-am
 | 
			
		||||
install-exec: install-exec-am
 | 
			
		||||
install-data: install-data-am
 | 
			
		||||
@@ -295,7 +312,7 @@ mostlyclean-generic:
 | 
			
		||||
clean-generic:
 | 
			
		||||
 | 
			
		||||
distclean-generic:
 | 
			
		||||
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
 | 
			
		||||
	-rm -f $(CONFIG_CLEAN_FILES)
 | 
			
		||||
 | 
			
		||||
maintainer-clean-generic:
 | 
			
		||||
	@echo "This command is intended for maintainers to use"
 | 
			
		||||
@@ -305,7 +322,7 @@ clean: clean-am
 | 
			
		||||
clean-am: clean-generic mostlyclean-am
 | 
			
		||||
 | 
			
		||||
distclean: distclean-am
 | 
			
		||||
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
distclean-am: clean-am distclean-generic
 | 
			
		||||
 | 
			
		||||
dvi: dvi-am
 | 
			
		||||
@@ -327,13 +344,21 @@ install-man:
 | 
			
		||||
installcheck-am:
 | 
			
		||||
 | 
			
		||||
maintainer-clean: maintainer-clean-am
 | 
			
		||||
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
maintainer-clean-am: distclean-am maintainer-clean-generic
 | 
			
		||||
 | 
			
		||||
mostlyclean: mostlyclean-am
 | 
			
		||||
 | 
			
		||||
mostlyclean-am: mostlyclean-generic
 | 
			
		||||
 | 
			
		||||
pdf: pdf-am
 | 
			
		||||
 | 
			
		||||
pdf-am:
 | 
			
		||||
 | 
			
		||||
ps: ps-am
 | 
			
		||||
 | 
			
		||||
ps-am:
 | 
			
		||||
 | 
			
		||||
uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
 | 
			
		||||
	uninstall-pkgpythonPYTHON
 | 
			
		||||
 | 
			
		||||
@@ -344,9 +369,10 @@ uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
 | 
			
		||||
	install-info install-info-am install-man \
 | 
			
		||||
	install-pkgpythonPYTHON install-strip installcheck \
 | 
			
		||||
	installcheck-am installdirs maintainer-clean \
 | 
			
		||||
	maintainer-clean-generic mostlyclean mostlyclean-generic \
 | 
			
		||||
	uninstall uninstall-am uninstall-dist_pkgdataDATA \
 | 
			
		||||
	uninstall-info-am uninstall-pkgpythonPYTHON
 | 
			
		||||
	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
 | 
			
		||||
	pdf-am ps ps-am uninstall uninstall-am \
 | 
			
		||||
	uninstall-dist_pkgdataDATA uninstall-info-am \
 | 
			
		||||
	uninstall-pkgpythonPYTHON
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
pycheck: 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user