Don't enable GoogleView and pass on gtkmozembed failure for systems that don't have Gnome.

svn: r9729
This commit is contained in:
Brian Matherly 2008-01-06 21:32:53 +00:00
parent 706b9df7d8
commit 4be9fbe097
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2008-01-06 Brian Matherly <brian@gramps-project.org>
* src/Config/_GrampsConfigKeys.py:
* src/DataViews/__init__.py:
* src/DataViews/GoogleView.py:
Don't enable GoogleView and pass on gtkmozembed failure for systems that
don't have Gnome.
2008-01-06 Jerome Rapinat <romjerome@yahoo.fr> 2008-01-06 Jerome Rapinat <romjerome@yahoo.fr>
* src/docgen/Makefile.am: gtkprintpreview.glade was not pasted on install * src/docgen/Makefile.am: gtkprintpreview.glade was not pasted on install

View File

@ -284,7 +284,7 @@ default_value = {
GENERATION_DEPTH : 15, GENERATION_DEPTH : 15,
DATA_VIEWS: ('MyGrampsView,PersonView,RelationshipView,FamilyListView,' DATA_VIEWS: ('MyGrampsView,PersonView,RelationshipView,FamilyListView,'
'PedigreeView,EventView,SourceView,PlaceView,MediaView,' 'PedigreeView,EventView,SourceView,PlaceView,MediaView,'
'RepositoryView,NoteView,GoogleView'), 'RepositoryView,NoteView'),
ADDMEDIA_IMGDIR : '', ADDMEDIA_IMGDIR : '',
ADDMEDIA_RELPATH : False, ADDMEDIA_RELPATH : False,
} }

View File

@ -63,7 +63,10 @@ import Errors
#import cPickle as pickle #import cPickle as pickle
#import Config #import Config
#from QuestionDialog import RunDatabaseRepair, ErrorDialog #from QuestionDialog import RunDatabaseRepair, ErrorDialog
import gtkmozembed try:
import gtkmozembed
except:
pass
import urlparse import urlparse

View File

@ -58,7 +58,7 @@ except:
#MapView, #MapView,
RepositoryView, RepositoryView,
NoteView, NoteView,
GoogleView, #GoogleView,
] ]
def get_views(): def get_views():