2007-01-21 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_GrampsBSDDB.py: catch exceptions
	* src/DisplayState.py: catch exceptions
	* src/DbLoader.py: catch exceptions (DbLoader.read_file): catch exception
	* src/Filters/SideBar/_SidebarFilter.py: add tooltips for dates
	* src/Filters/SideBar/_PersonSidebarFilter.py: add tooltips for dates



svn: r7949
This commit is contained in:
Don Allingham 2007-01-22 02:17:52 +00:00
parent b656e879fe
commit 2d0c2bed65
10 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2007-01-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: catch exceptions
* src/DisplayState.py: catch exceptions
* src/DbLoader.py: catch exceptions (DbLoader.read_file): catch exception
* src/Filters/SideBar/_SidebarFilter.py: add tooltips for dates
* src/Filters/SideBar/_PersonSidebarFilter.py: add tooltips for dates
2007-01-21 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2007-01-21 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* ObjectSelector/_FilterFrameBase.py, ObjectSelector/_ObjectSelectorWindow.py, * ObjectSelector/_FilterFrameBase.py, ObjectSelector/_ObjectSelectorWindow.py,
ObjectSelector/_FamilyFilterFrame.py, ObjectSelector/_PersonPreviewFrame.py, ObjectSelector/_FamilyFilterFrame.py, ObjectSelector/_PersonPreviewFrame.py,

View File

@ -42,7 +42,6 @@ log = logging.getLogger(".Assistant")
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import gtk import gtk
import gtk.gdk
import gobject import gobject
#------------------------------------------------------------------------- #-------------------------------------------------------------------------

View File

@ -38,7 +38,6 @@ import Utils
import Errors import Errors
import Bookmarks import Bookmarks
import Config import Config
import const
from DdTargets import DdTargets from DdTargets import DdTargets
from QuestionDialog import QuestionDialog from QuestionDialog import QuestionDialog
from Editors import EditEvent, DelEventQuery from Editors import EditEvent, DelEventQuery

View File

@ -37,7 +37,6 @@ import DisplayModels
import Bookmarks import Bookmarks
import Errors import Errors
import Config import Config
import const
from Filters.SideBar import FamilySidebarFilter from Filters.SideBar import FamilySidebarFilter
#------------------------------------------------------------------------- #-------------------------------------------------------------------------

View File

@ -67,7 +67,7 @@ import Config
import const import const
from Editors import EditPerson from Editors import EditPerson
from Filters import SearchBar, SearchFilter, ExactSearchFilter from Filters import SearchBar
from Filters.SideBar import PersonSidebarFilter from Filters.SideBar import PersonSidebarFilter
from DdTargets import DdTargets from DdTargets import DdTargets

View File

@ -44,7 +44,6 @@ import DisplayModels
import Utils import Utils
import Errors import Errors
import Bookmarks import Bookmarks
import const
import Config import Config
from DdTargets import DdTargets from DdTargets import DdTargets
from Editors import EditPlace, DeletePlaceQuery from Editors import EditPlace, DeletePlaceQuery

View File

@ -44,7 +44,6 @@ import DisplayModels
import Utils import Utils
import Bookmarks import Bookmarks
import Errors import Errors
import const
import Config import Config
from Editors import EditRepository, DelRepositoryQuery from Editors import EditRepository, DelRepositoryQuery
from DdTargets import DdTargets from DdTargets import DdTargets

View File

@ -39,7 +39,6 @@ import gtk
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import RelLib import RelLib
import const
import Config import Config
import PageView import PageView
import DisplayModels import DisplayModels

View File

@ -54,6 +54,7 @@ import GrampsDb
import Utils import Utils
from PluginUtils import import_list from PluginUtils import import_list
import QuestionDialog import QuestionDialog
from Errors import GrampsDbException
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #

View File

@ -54,7 +54,6 @@ import pango
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import AutoComp import AutoComp
import DateHandler
import DateEdit import DateEdit
import const import const
import Config import Config
@ -613,7 +612,7 @@ class PlaceEntry:
try: try:
EditPlace(self.dbstate, self.uistate, self.track, EditPlace(self.dbstate, self.uistate, self.track,
place, self.place_added) place, self.place_added)
except Errors.WindowActiveError: except WindowActiveError:
pass pass
def drag_data_received(self, widget, context, x, y, selection, info, time): def drag_data_received(self, widget, context, x, y, selection, info, time):
@ -635,7 +634,7 @@ class PlaceEntry:
try: try:
EditPlace(self.dbstate, self.uistate, self.track, place, EditPlace(self.dbstate, self.uistate, self.track, place,
self.after_edit) self.after_edit)
except Errors.WindowActiveError: except WindowActiveError:
pass pass
else: else:
from Selectors import selector_factory from Selectors import selector_factory