Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open

Introduces the concept of callman.py as one single way to follow handles an
interface is interested in. 
dbguielement.py contains a small base class using that, usable for all windows/
guielements that need to track database changes to handles


svn: r12881
This commit is contained in:
Benny Malengier
2009-08-05 10:32:05 +00:00
parent f34d4656a7
commit ee69317b62
30 changed files with 1048 additions and 107 deletions

View File

@@ -56,11 +56,10 @@ src/cli/grampscli.py
src/gen/__init__.py
# gen utils API
src/gen/utils/dbutils.py
src/gen/utils/progressmon.py
src/gen/utils/__init__.py
src/gen/utils/dbutils.py
src/gen/utils/callback.py
src/gen/utils/callman.py
src/gen/utils/dbutils.py
src/gen/utils/longop.py
src/gen/utils/progressmon.py
@@ -182,6 +181,7 @@ src/gen/plug/docbackend/docbackend.py
# gui - GUI code
src/gui/__init__.py
src/gui/dbguielement.py
src/gui/dbloader.py
src/gui/dbman.py
src/gui/grampsgui.py