|
| 1 | +# encoding:utf-8 |
| 2 | +# |
| 3 | +# Gramps - a GTK+/GNOME based genealogy program |
| 4 | +# |
| 5 | +# Copyright (C) 2009 Benny Malengier |
| 6 | +# Copyright (C) 2011 Nick Hall |
| 7 | +# Copyright (C) 2011 Tim G L Lyons |
| 8 | +# |
| 9 | +# This program is free software; you can redistribute it and/or modify |
| 10 | +# it under the terms of the GNU General Public License as published by |
| 11 | +# the Free Software Foundation; either version 2 of the License, or |
| 12 | +# (at your option) any later version. |
| 13 | +# |
| 14 | +# This program is distributed in the hope that it will be useful, |
| 15 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | +# GNU General Public License for more details. |
| 18 | +# |
| 19 | +# You should have received a copy of the GNU General Public License |
| 20 | +# along with this program; if not, write to the Free Software |
| 21 | +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 22 | +# |
| 23 | +from gramps.gen.plug._pluginreg import register, STABLE, UNSTABLE, GRAMPLET |
| 24 | +from gramps.gen.const import GRAMPS_LOCALE as glocale |
| 25 | +_ = glocale.translation.gettext |
| 26 | + |
| 27 | +MODULE_VERSION="5.0" |
| 28 | + |
| 29 | +#------------------------------------------------------------------------ |
| 30 | +# |
| 31 | +# Gramps modules |
| 32 | +# |
| 33 | +#------------------------------------------------------------------------ |
| 34 | + |
| 35 | +from gramps.gen.const import GRAMPS_LOCALE as glocale |
| 36 | +_ = glocale.translation.sgettext |
| 37 | + |
| 38 | +#------------------------------------------------------------------------ |
| 39 | +# |
| 40 | +# Register Gramplet |
| 41 | +# |
| 42 | +#------------------------------------------------------------------------ |
| 43 | + |
| 44 | +register(GRAMPLET, |
| 45 | + id="Uncollected Objects V2", |
| 46 | + name="Uncollected Objects V2", |
| 47 | + description = "Gramplet showing uncollected objects", |
| 48 | + version="2.0.0", |
| 49 | + gramps_target_version=MODULE_VERSION, |
| 50 | + status = UNSTABLE, |
| 51 | + fname="leakv2.py", |
| 52 | + height=400, |
| 53 | + gramplet = 'Leakv2', |
| 54 | + gramplet_title="Uncollected Objects V2", |
| 55 | + ) |
0 commit comments