Don't enable GoogleView and pass on gtkmozembed failure for systems that don't have Gnome.
svn: r9729
This commit is contained in:
@@ -284,7 +284,7 @@ default_value = {
|
||||
GENERATION_DEPTH : 15,
|
||||
DATA_VIEWS: ('MyGrampsView,PersonView,RelationshipView,FamilyListView,'
|
||||
'PedigreeView,EventView,SourceView,PlaceView,MediaView,'
|
||||
'RepositoryView,NoteView,GoogleView'),
|
||||
'RepositoryView,NoteView'),
|
||||
ADDMEDIA_IMGDIR : '',
|
||||
ADDMEDIA_RELPATH : False,
|
||||
}
|
||||
|
||||
@@ -63,7 +63,10 @@ import Errors
|
||||
#import cPickle as pickle
|
||||
#import Config
|
||||
#from QuestionDialog import RunDatabaseRepair, ErrorDialog
|
||||
import gtkmozembed
|
||||
try:
|
||||
import gtkmozembed
|
||||
except:
|
||||
pass
|
||||
import urlparse
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ except:
|
||||
#MapView,
|
||||
RepositoryView,
|
||||
NoteView,
|
||||
GoogleView,
|
||||
#GoogleView,
|
||||
]
|
||||
|
||||
def get_views():
|
||||
|
||||
Reference in New Issue
Block a user