-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An updated version of Uncollected Objects plugin for Gramps50
Automatically finds reference cycles (loops) Can display only objects in cycles (loops) Can search for only objects in a particular cycle (loop) Can switch from diagnostic to normal gc mode garbage collection status is printed to STDERR when installed
- Loading branch information
Showing
2 changed files
with
480 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# encoding:utf-8 | ||
# | ||
# Gramps - a GTK+/GNOME based genealogy program | ||
# | ||
# Copyright (C) 2009 Benny Malengier | ||
# Copyright (C) 2011 Nick Hall | ||
# Copyright (C) 2011 Tim G L Lyons | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
# | ||
from gramps.gen.plug._pluginreg import register, STABLE, UNSTABLE, GRAMPLET | ||
from gramps.gen.const import GRAMPS_LOCALE as glocale | ||
_ = glocale.translation.gettext | ||
|
||
MODULE_VERSION="5.0" | ||
|
||
#------------------------------------------------------------------------ | ||
# | ||
# Gramps modules | ||
# | ||
#------------------------------------------------------------------------ | ||
|
||
from gramps.gen.const import GRAMPS_LOCALE as glocale | ||
_ = glocale.translation.sgettext | ||
|
||
#------------------------------------------------------------------------ | ||
# | ||
# Register Gramplet | ||
# | ||
#------------------------------------------------------------------------ | ||
|
||
register(GRAMPLET, | ||
id="Uncollected Objects V2", | ||
name="Uncollected Objects V2", | ||
description = "Gramplet showing uncollected objects", | ||
version="2.0.0", | ||
gramps_target_version=MODULE_VERSION, | ||
status = UNSTABLE, | ||
fname="leakv2.py", | ||
height=400, | ||
gramplet = 'Leakv2', | ||
gramplet_title="Uncollected Objects V2", | ||
include_in_listing = False, | ||
) |
Oops, something went wrong.