9383: the Family Tree Manager dialog should show the database type
This commit is contained in:
@@ -72,6 +72,12 @@ try:
|
|||||||
except:
|
except:
|
||||||
BSDDB_STR = 'not found'
|
BSDDB_STR = 'not found'
|
||||||
|
|
||||||
|
try:
|
||||||
|
import sqlite3
|
||||||
|
sqlite3_version_str = sqlite3.version
|
||||||
|
except:
|
||||||
|
sqlite3_version_str = 'not found'
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# GrampsAboutDialog
|
# GrampsAboutDialog
|
||||||
@@ -132,12 +138,14 @@ class GrampsAboutDialog(Gtk.AboutDialog):
|
|||||||
"GRAMPS: %s \n" +
|
"GRAMPS: %s \n" +
|
||||||
"Python: %s \n" +
|
"Python: %s \n" +
|
||||||
"BSDDB: %s \n" +
|
"BSDDB: %s \n" +
|
||||||
|
"sqlite: %s \n" +
|
||||||
"LANG: %s\n" +
|
"LANG: %s\n" +
|
||||||
"OS: %s\n" +
|
"OS: %s\n" +
|
||||||
"Distribution: %s")
|
"Distribution: %s")
|
||||||
% (ellipses(str(VERSION)),
|
% (ellipses(str(VERSION)),
|
||||||
ellipses(str(sys.version).replace('\n','')),
|
ellipses(str(sys.version).replace('\n','')),
|
||||||
BSDDB_STR,
|
BSDDB_STR,
|
||||||
|
sqlite3_version_str,
|
||||||
ellipses(get_env_var('LANG','')),
|
ellipses(get_env_var('LANG','')),
|
||||||
ellipses(operatingsystem),
|
ellipses(operatingsystem),
|
||||||
ellipses(distribution)))
|
ellipses(distribution)))
|
||||||
|
Reference in New Issue
Block a user